This piece of code is working in IE, but not in my Firefox.
The last link should simulate onclick event on the upper image.
Can you suggest me how to make it crossbrowser compatible, please?
....
<a href="http://www.google.com"><img src="img.jpg" id="mypic"
name="mypic"></a><br />
<a href="#something"
onclick="alert(document.images['mypic'].src)">Browser compatibility
check!</a><br />
<a href="#something" onclick="document.images['mypic'].click();">Onclick
event simulation on the upper image!</a>
....
Thanks!
Joe