非高手莫入。。。 <input type="reset" value="重置"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 呵呵,这不是高手的问题吧,是有多个表单的话那就写代码吧<script>function resetform(){for(i=0;i<document.all.length;i++){ if(document.all.items(i).type=="text"||document.all.items(i).type=="textarea") { document.all.items(i).value=""; } if(document.all.items(i).type=="checkbox"&&document.all.items(i).checked) document.all.items(i).checked=false; }}}</script> 对于asp.net,一个页面只有一个form,所以加入:<input type="reset" value="重置">就可以了. 特别关注 建站 高手们请教 net中socket模拟http协议时的异常,求高手 请问大家。关于新浪微博中的点击评论下面展开的问题 用gridview导出excel最多可以导出多少行 哪里有不仅可以选择日期,还可以选择时间的日期的日期控件 弹出对话框的基本问题(C#) 急~~~~~~~ 请教一个问题,急啊 C#:接口与抽象类的区别,。?: 初学,给点建议 大家新年快乐!一个很简单的新手问题急求!急!!!!!!!!!!!!!!! 编译时出错!!好心人救救我吧!!^_^ treeview数据绑定(web)(100)
<script>
function resetform()
{
for(i=0;i<document.all.length;i++)
{
if(document.all.items(i).type=="text"||document.all.items(i).type=="textarea")
{
document.all.items(i).value="";
}
if(document.all.items(i).type=="checkbox"&&document.all.items(i).checked)
document.all.items(i).checked=false;
}
}
}
</script>
就可以了.