摘要:
1 1 if($("#ss").attr("checked")=='checked'){ 2 2 $("#ss").val(true); 3 3 }else{ 4 4 $("#ss").val(false); 5 5 } 6 6 console.log(typeof($("#ss").attr("checked")));//string 阅读全文
posted @ 2016-07-14 16:05
筱筱鹿丸
阅读(168)
评论(0)
推荐(0)