Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q77 How can I have an onMouseOver event handler on an image in a form?

You are here: irt.org | FAQ | JavaScript | Image | Q77 [ previous next ]

You are probably coding it as:

<form>
<input type="image" src="mine.gif">
</form>

If so try something like this:

<form name="myform">
<a href="javascript:document.myform.submit()" onMouseOver="alert('here I am')"><img src="mine.gif" border="0"></a>
</form>

©2018 Martin Webb