how to make (using javascript or otherwise) cursor go to username field in AUTH when page loads?
| From: | l Burnerheimerton | Date: | Wed, 30 Mar 2005 14:52:40 +0000 |
| Subject: | how to make (using javascript or otherwise) cursor go to username field in AUTH when page loads? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-18413@lists.php.net to get a copy of this message | ||
I am using AUTH and like it. I want to make it so
that when the page loads, the cursor is in the first
field. Now you have to click in that field.
Thanks.
function loginFunction()
{
...
echo "<input type=\"text\" name=\"logName\"><BR>";
echo "<input type=\"pass\" name=\"pass\"><BR>";
...
}
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/