A life committed to learning.

Set focus on first input of a form

Isn’t annoying when you open a web page with a form and then have to click on the first input to start entering our data?

Well, it’s so easy to make this automatically with Javascript and JQuery

$("input:visible:enabled:first").focus();


jpereira

http://jpereira.eu

View more posts from this author

Leave a Reply

Your email address will not be published. Required fields are marked *