ASP如何把图像域设为重置按扭```急急急!!!

来源:百度知道 编辑:UC知道 时间:2024/05/29 00:18:04
ASP中如何把图像域设为重置按扭

请指点...

比如有三个文本框,一个username、adminpwd、code
则只要插入一张图片,在它的onclick事件设置为清空表单个元素的值就可以咯!
<img onMouseOver="this.style.cursor='hand';" onClick="form1.username.value='';form1.adminpwd.value='';form1.code.value='';" height="15" src="img/bgoffice_2.gif" width="38" border="0" />
祝你成功~

<img src="image/reset.gif" onclick="form_name.reset()" style="cursor:hand">