Forums
This topic is locked
place curser in textfield
Posted 06 Apr 2004 22:57:09
1
has voted
06 Apr 2004 22:57:09 Billy Pridgen posted:
Can someone tell me how to place the blinking cursor in a field on a page when the page loads instead of having to click the field first. I have a login page that needs to have the cursor already in that username field when the page is loaded. Replies
Replied 07 Apr 2004 03:11:54
07 Apr 2004 03:11:54 Phil Shevlin replied:
<body onload="document.formname.fieldname.focus();">