I need to make a search box to enable the user to search for a text string on the current page. All the sources I've checked are concerned with searching the web, or tying into Google, etc.

Can someone provide canned code to to this?

TIA