How to call form Reset action on image?
I want to call Reset Action of f开发者_如何学Goorm in my Reset Image. Can anybody give me solution how to call it?
This is a HTML and CSS task.
You can use this code here:
<input type="reset" value="" style="background: url(image_path); width:92px; height:31px; border:0px">
if you cant use a reset-button, just add an onclick-event to you element (you image in this case) like this:
document.MyForm.reset();
for more information, take a look at this (or simply ask mr. google)
精彩评论