function resets()
{
  var controls = document.getElementsByTagName('input');
  for(var i=0; i<controls.length; i++){
    if(controls[i].type=='text'){
      controls[i].value='';
    }
  }

}

相关文章:

  • 2021-08-03
  • 2021-12-10
  • 2021-11-29
  • 2021-10-05
  • 2021-12-10
  • 2021-09-07
  • 2021-11-05
猜你喜欢
  • 2021-12-26
  • 2021-12-10
  • 2021-10-19
  • 2021-11-24
  • 2021-10-29
  • 2021-11-24
相关资源
相似解决方案