Site Search | JavaScriptSource

Site Search

JavaScriptSource Staff Sep 9, 2000
How would you like a Search Engine for YOUR site? This script does exactly that. Copy the codes to your site, enter the listings information, and you've got your own site search engine!
(For the demo, try searching for the word javascript, miscellaneous, or demo.

The JavaScript Source: Miscellaneous: Site Search

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


I'm looking for scripts that will allow me to search my site using an image as the search button. Can you help?

Tim Mar 14, 2015

Thanks for sharing the script--I think it's going to meet our needs. I do have one issue, however. When the Results opens, none of the IE tools are available so clicking on the link in the list opens the page without the ability to interact with the browser: back button, address bar, etc. Chrome shows the address bar but no other Chrome menu or button bar. Is there a way to have the results open in a normal IE/Chrome browser?

Lonny Burger Oct 28, 2014

Always returns 0 results when the searched word is on the page.

Mike Feb 26, 2014

The demo does not work using IE9 under Windows Vista.

Jim Gros Dec 17, 2013

I find that the 'Try searching' does nothing and also after copying the code to my website as instructed it also does nothing.

Geoffrey Evans Nov 5, 2013