1, after the success of the page load, click to select or uncheck the Checkbox,checkbox property in the Checked property does not change according to whether the checkbox is selected
2, in the checkbox in the onchange or the OnClick method in the jquery attr method obtains the checked is to see the value of the checked attribute is not related to whether it is hooked
3, the use of document.getElementById ("checkbox_id"). Checked gets the value and whether it is hooked up to, that is, the WYSIWYG
4. Use $ ("#checkbox_id"). attr ("checked") gets the value and <input type= "checkbox" in the checked situation one to, is not the WYSIWYG
5. Use $ ("#checkbox: Checked") to get all the checkbox on the hook
6, document.getElementById ("checkbox_id"). Checked=true, the Checked property in the control is not displayed, what you see
7. $ ("#checkbox_id"). attr ("Checked", true), the checked property in the control is displayed, what you see, and the code changes
The above analysis of jquery and checkbox checked attributes of the problem is small series to share all the content of everyone, hope to give you a reference, but also hope that we support the cloud habitat community.