function radioReset(){
    /*方式一*/
    /* var radios = $("input[type='radio']");
     for (i=0; i<radios.length; i++){
         if(radios[i].checked){
              radios[i].checked = false;
          } 
     } */
     /*方式二*/
    $("input[type='radio']").removeAttr('checked');      
}

 <input type="button" class="button_gray" value="重 填" onclick="radioReset();">

切记 :如果在input类型为reset的上面添加onclick="radioReset();"如:

<input type="reset" class="button_gray" value="重 填" onclick="radioReset();">

取消选中的js代码不生效

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2021-08-29
  • 2022-12-23
  • 2021-12-06
  • 2021-12-06
猜你喜欢
  • 2021-09-27
  • 2021-07-04
  • 2022-12-23
  • 2021-10-01
  • 2021-08-16
  • 2021-11-16
相关资源
相似解决方案