S
steve
Hi,
Here is my code to set focus on first input box.
<HTML><HEAD></HEAD>
<BODY><form name="f">
<input type=text name="n1">+
<input type=text name="n2">=
<input type=text name="sum">
<SCRIPT>
document.f.n1.focus()
</SCRIPT>
</form></BODY></HTML>
When I open the page and type something, nothing happens. How to make
it work?
Thanks.
Here is my code to set focus on first input box.
<HTML><HEAD></HEAD>
<BODY><form name="f">
<input type=text name="n1">+
<input type=text name="n2">=
<input type=text name="sum">
<SCRIPT>
document.f.n1.focus()
</SCRIPT>
</form></BODY></HTML>
When I open the page and type something, nothing happens. How to make
it work?
Thanks.