<form name=form1>
<input type=text>
<input type=image src="images/1.gif">
<input type=image src="images/2.gif" onclick="form1.reset();return(false);">
</form>

解决方案 »

  1.   

    <img src="1.gif" onClick="document.form1.reset();">
      

  2.   

    <input type=image src="images/2.gif" onclick="form1.reset();">
      

  3.   

    该问题已经解决,谢谢各位的帮忙,在此特别感谢 tdl982324(石井坚) 
    其余各位也非常感谢!不过你们的代码中都有点小的问题 wangyime(我有Web恐惧症) ,zhanghy2(飞羽) 应该再加上这一句return(false);
    zhx_232(笨狗熊妹妹) 我问的是input 而不是img谢谢,谢谢非常感谢!请接分