It's close.
<script = "text/javascript">
<!--
function searchfocus()
{
document.frm_search.term.focus();
}
-->
</script>
<a href="#findorder" onclick="searchfocus();">Search</a>
...
<form name="frm_search" action="search.php" method=GET>
<input type=text name=term>
<input type=submit value="Find">
</form>
That should "cut the mustard"-- hehe what a funny phrase. The way using getElementbyId(IDname) is if you have many different forms on the page, and you ant to dynamically choose different forms to take the input focus. Also note, name and id are different. So when you using getElementbyID, you need the ID, not the name.
<input type=text name=term id=term>
THen you could use getElementbyId("term");
Anyway, it shoudl work the way I posted above.