Search the Page
General
This script will allow your visitors to search a Web page for any matching characters. It can be set for the entire page or within a specific ID attribute. Simple to use and heavily annotated.
Notes
- Created by: Robin Winslow
- Web Site: http://www.robinwinslow.me.uk
- Posted: April 25, 2007
If you only want to search within a specific ID, just change the third line of code in the addLoadEvent function.
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: searchPage.js
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(3 comments)You would need a different script. This one is for searching the current page.
I tried over ten script none worked for me and on Opera browser but your script do the job just excellent, thanks lot.
Hi[br /]The code for search is not working.[br /]I want to search some pages of specific words like eductional qualification = Graduate etc. form some other website in http://cyberuniversity.we.bs[br /]what changes should I make?[br /]Where[br /]Awaiting[br /]Regards[br /]Manish Wagh