1,105,295 Community Members

Search box

Member Avatar
cguan_77
Nearly a Posting Virtuoso
1,379 posts since Apr 2007
Reputation Points: 8 [?]
Q&As Helped to Solve: 117 [?]
Skill Endorsements: 0 [?]
 
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
mmcdonald
Posting Pro in Training
473 posts since Sep 2012
Reputation Points: 28 [?]
Q&As Helped to Solve: 32 [?]
Skill Endorsements: 12 [?]
 
0
 

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
crescendo
Junior Poster in Training
80 posts since May 2013
Reputation Points: 12 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 0 [?]
 
0
 

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

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