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

Q61 Which events can be captured over the form type 'image'?

You are here: irt.org | FAQ | JavaScript | Form | 11 | Q61 [ previous next ]

Officially none - as JavaScript does not support the IMAGE type as an input type.

The workaround is too use a normal image link:

<a href="javascript:someFunction()"><img src="someImage.gif" onClick=someFunction()"></a>

©2018 Martin Webb