Welcome visitor
* Login
* Register
It is currently March 24th, 2019, 2:50 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  cursor on input
PostPosted: August 27th, 2009, 3:04 pm 

Posts: 22
hi, i have a form with one input for the username and other fro the password. What can i do so when the user comes to this page the cursor its on the username field so he doesnt need to click on it, just start typing.


Top
 Profile  
 
  Re: cursor on input
PostPosted: August 27th, 2009, 5:43 pm 
User avatar

Posts: 52
<body onload="document.formName.inputName.focus();">

replace de formName and inputName with your form and input real names.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron