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

Q1176 Can I use an image object to clear my form instead of using the normal reset button?

You are here: irt.org | FAQ | JavaScript | Form | 1 | Q1176 [ previous next ]

Yes:

<form name="myForm">
...
<a href="#" onClick="document.myForm.reset()"><img src="reset.gif"></a>
</form>

Feedback on 'Q1176 Can I use an image object to clear my form instead of using the normal reset button?'

©2018 Martin Webb