JSearch is a project mainly written in JavaScript, it's free.
A jQuery plugin to search an HTML element for a query and highlight the matches. Also, has a iPhone bookmarklet to search the current page and auto search engine detection.