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.
JQuery is JavaScript Library which enables to do most of the things easily. It reduces code and time of development. Most of the functionalities can be done easily such as event handling, documnet traversingm animation and Ajax interaction. jQuery is designed to change the way that you write JavaScript. You can find more info @ http://jquery.com/