how do you set focus on load to a certain form input object when the page loads?
Printable View
how do you set focus on load to a certain form input object when the page loads?
Hi glitch13
use the following code to set the focus
<BODY onload="document.formname.inputname.focus();">
hope this helps
Ian
thanks, it worked. just out of curiosity, was that html or java?
Hi glitch13
That was javascript