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