[thelist] onFocus

Teck Low TeckLLow at rainbowhouseinc.com
Tue Oct 30 12:35:02 CST 2001


I would like to have the cursor focus in the input box. What is wrong with
this statement?

<form name="srchfrm" method="get" action="engine.htm"
onFocus="window.document.srchfrm.srchtxt.focus();"
onSubmit="check(this.srchtxt);" target="_top">
<input type="text" size=30 name="srchtxt">

Thank you.

Teck






More information about the thelist mailing list