I've got a form that has fields inside of <div> tags.
------------------------------------
<div id="set_1" style="display:none">
<input type="text" name="foo" />
</div>
<div id="set_2">
<input type="text" name="bar" />
</div>
------------------------------------
How can I bring focus to the first "visible" form field?
Thanks in advance.
------------------------------------
<div id="set_1" style="display:none">
<input type="text" name="foo" />
</div>
<div id="set_2">
<input type="text" name="bar" />
</div>
------------------------------------
How can I bring focus to the first "visible" form field?
Thanks in advance.