Archive for January, 2008

Set focus on first field with jQuery

Thursday, January 17th, 2008

Setting focus on the first text field with jQuery is as simple as

  $("input:text:first").focus();

Find more at http://docs.jquery.com/Selectors