Posted By

apphp-snippets on 08/22/13


Tagged

javascript load focus of


Versions (?)

Focus OnLoad in JavaScript


 / Published in: JavaScript
 

URL: http://www.apphp.com/index.php?snippet=javascript-focus-on-load

You can put the user's cursor inside a text box or put focus on select box as soon as your page is loaded. This helps ensure that visitors do not 'overlook' an important form item on your site and this snippet only uses one line of code!

Report this snippet  

You need to login to post a comment.