广东省政协骆蔚峰:图片按纽的reset代码怎么写

来源:百度文库 编辑:神马品牌网 时间:2024/05/11 20:30:23
一个按纽,是图片格式的,作用是重新填写表格,它的html代码怎么写。

<input type="Image" name="Reset" onclick="postform.reset();return false;" src="images/congxie.gif" width="82" height="22">
给你个网站,有可能有这方面的电子书www.okget.com

用javascript的话,直接在里面加 onClick="javascript:form1.reset();"就可以了。

什么意思?只要是type=reset,就用不着你写代码了