I'd like to add the "enter" function to this... anyone know how? <form><input name='search_term'> <input type='button' value="Search" onclick= "javascript:find_text(search_term.value);"></form> Code (markup): Here's the code.... <script type="text/javascript"> function find_text(txt) { var rng = document.body.createTextRange() if (rng.findText(txt)) { rng.select(); } } </script>