会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
突破自我
管理
2013年3月7日
js清空页面控件值
摘要: function funClear() { var txts = document.getElementsByTagName("input"); for (var i = 0; i < txts.length; i++) { if (txts[i].type == "text"||txts[i].type == "checkbox") { txts[i].value = ""; } } }
阅读全文
posted @ 2013-03-07 15:51 丁焕轩
阅读(2466)
评论(0)
推荐(0)
编辑
公告