Jquery: Get Focus on First Field of Form


Put this in jQuery Document Ready event and you will get focus on Forms first field.

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

This is very useful when there are many forms.

Comments

Popular posts from this blog

Are parents really responsible for their children's bad habits?

Unicode support Java