码迷,mamicode.com
首页 > Web开发 > 详细

checkbox、radio使用jquery改变状态

时间:2019-06-26 13:52:48      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:改变   att   box   put   fun   radio   状态   cti   type   

	    $(‘input[type=checkbox]:checked‘).each(function(index,elem){
	        	
	    	$(elem).attr("checked",false);
	    });
	    $(‘input[type=radio]:checked‘).each(function(index,elem){
	    	$(elem).attr("checked",false);
	    });

  

checkbox、radio使用jquery改变状态

标签:改变   att   box   put   fun   radio   状态   cti   type   

原文地址:https://www.cnblogs.com/qinyios/p/11089212.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!