[Javascript] onload focus without placing inside body tags

Kim Hoogenberg kim.hoogenberg at virgil.nl
Wed Aug 3 10:29:01 CDT 2005


use document.myform.myfield.focus() after the form and field have been 
parsed by the browser.

HTH,

Kim

>I was out on the web yesterday and  I came across some code that would put
>focus in the first field of my form without using the body tag and I cannot
>find that site now.  Anyone know how to do this?
>
>Thank you,
>Terri Howard
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>  
>




More information about the Javascript mailing list