Hi math,
I have been trying to get something useful for your question,and I got this script.It only works for IE.
It's a form field with a search button.It looks for all the text in between <body> and </body>.
Maybe it could be useful for you.I hope this helps.
<html>
<head>
<script>
function findText(textString)
{
if(textString!='')
{
var range = document.body.createTextRange();
var found = range.findText(textString);
if(found) { range.select(); range.scrollIntoView();}
else alert('Sorry, no matches found');
}
else
alert('Sorry, no matches found');
}
</script>
</head>
<body>
<form>
Enter Search Term
<input type="text" id="search">
<input type="button" onclick="findText(search.value);" value="GO!">
</form>
<br><br>
Good morning<br>
Goodbye my dear friend<br>
Hello Everyone<br>
</body>
</html>
It's based on a script developed by Peter Bromberg.
window.find() is not available any longer since JS 3.0.
I'm trying to help.
Kindest Regards
alexfusion