1,105,546 Community Members

Search box

Member Avatar
Nearly a Posting Virtuoso
1,379 posts since Apr 2007
Reputation Points: 8 [?]
Q&As Helped to Solve: 117 [?]
Skill Endorsements: 0 [?]

hi guys, is there a way to create in Javascript or Jquery to have a search box and search for the data within the HTML page.

In the HTML page, there's a lot of links.

Basically the HTML page looks like this:

File No 1 - Link to File No. 1
Document 2 - Link to Document No. 2
PDF 3 - Link to PDF No. 3 etc..

I don't know whether there's way to have a search box using Jquery or Javascript and let the user search on the text box and find those links from within the page itself.

Thanks for any input :)

Member Avatar
Posting Pro in Training
473 posts since Sep 2012
Reputation Points: 28 [?]
Q&As Helped to Solve: 32 [?]
Skill Endorsements: 12 [?]

First Google search returned this. It has the source and a working example. Let me know if it doesn't suit your needs.

Member Avatar
Junior Poster in Training
80 posts since May 2013
Reputation Points: 12 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 0 [?]

Use jQuery plugins having a lot of extra functionality that makes searching easier.

This article has been dead for over three months: Start a new discussion instead
Start New Discussion
Tags Related to this Article