I am trying to focus on an input type="image" when the page loads with something like...
I've tried many variations to the script, but when I try to focus on an image input, it just doesn't work. I get an error that it's null or not an object. However, if I change it's type from image to text, it works fine. Any ideas? Thanks.
Code:
<body onLoad="document.form1.imageTag.focus();">
Comment