I tried this, replacing the document.forms[0].elements[0].focus() line. It didn't work.
Thanks, Richard On Oct 28, 10:11 am, Richard G <[email protected]> wrote: > Or if you don't have much info on the page and just want the first visible > field to have focus you could do: > $("input:visible:enabled:first").focus()

