Forum Moderators: open
Is this at all possible? The following code works fine
<input type="reset" class="reset" name="reset" value="reset"/>
but what i really want is an image (type=image). The problem is i dont want to use JavaScript to reset the button.
Please advise if you know the trick would be appreciated.
Thanks!
Thankfully, the javascript you need is old as the hills and supported by every browser ever invented.
<input type="image" onClick="this.form.reset()">
or
<a href="javascript:this.form.reset()"><img src="mybuttonimage.gif"></a>
I am curious.
Why are you reluctant to use Javascript?