Forum Moderators: open
Yes, you can do something like this:
<script> document.getElementById('someID').focus(); </script>
Usually you want to do it in the body tag in the onLoad event, ala:
<body onload="document.getElementById('someID').focus();">
Chad
<a href="" onclick="openpop(features)"></a> or"#" Cheers
just wanted to know how to make it automatic without having to add to the <body> tag.
or
window.onload=myFunction;