Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

68
Views
Need to add a search to static HTML site using javascript

anyone can help me to implement a search field for a static website, my website doesn't have a database, it's only HTML and CSS.

I want to be able to search files with extension .html in a specific folder called post.

Inside the post folder, there are many files with extension .html

I want to search these files through input field using javascript and output the URL in a div

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

            <div id="search">
                <form name="searchForm" action="http://google.com/search">
                  <input name="query" type="text" value="" placeholder="search" maxlength="250" />
                  <input name="query" type="hidden" value="site:yoursiteurl"/>
                  <input id = "submitButton" name="submit" type="submit" value="Search" />
                </form>
              </div>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!