Try something like this...
<body onload="document.loginForm.username.focus();document.loginForm.username.select();">
<form name="loginForm">
<input type="text" name="username">
</form>
</body>
Jesper
William Stokes wrote:
Hello,
This might be more of a HTML question but I think that someone here can help me.
How can I put, automatically, the cursor to a spesific text field in web form. So that the user doesn't have to select the first field with mouse.
Thanks -Will
--