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 = "";
}
}
}

相关文章:

  • 2022-01-24
  • 2022-12-23
  • 2021-11-30
  • 2021-11-08
  • 2021-11-20
  • 2022-12-23
猜你喜欢
  • 2021-07-25
  • 2021-07-10
  • 2021-08-06
  • 2022-12-23
  • 2021-07-31
  • 2021-11-23
相关资源
相似解决方案