1.question: when first operate the checkbox with sentence like : $("input[type=checkbox]").attr("checked",true); $("input[type=checkbox]").attr("checkec",false); it will succeed; but the second time , it will failed
记住我1<input type='checkbox' /> 记住我2<input type='checkbox' /> <button onclick='hehe();' type="button" >TEST</button> js取值 function hehe(){ var a = document.getElementsByTagName('input')[0].checked; alert(a); var b = documen