tags:

views:

43

answers:

1

I have been searching for a JavaScript "Find In Page" tool to place in a HTML file so that when I enter a search term and click submit, the script will search a TEXT file of my choice and find a match on the text page for the entry submitted. Can someone give me a hand? Thanks.

+2  A: 

Use regex pattern matching to highlight the searched text

Check this http://www.nsftools.com/misc/SearchAndHighlight.htm

Starx
Thanks all! But, I'm not sure these suggestions will work. This is an example of what I'm looking for: Page A - This is the start page: http://www.mobilestimulus.com/tests/field_search/indexEmployee enters part# on page A, and Part# is highlighted on page B. Am I right in thinking the two ideas given here will not work for this?Page B, the page to be searched, is a .txt file. Example:http://www.mobilestimulus.com/tests/field_search/file1
mobilestimulus
So, you can going to search a .txt file which is page B, from Page A
Starx