I have a button that will add show a form on the page. how can I move the focus to the first field of the form when that button is clicked?
simple example:
H
It might be this:
$("#newForm input:first").focus();