1. After the page has been loaded successfully, click to select or uncheck the Checked property in the Checkbox,checkbox property will not change depending on whether the checkbox is selected or not
2, the checkbox in the onchange or OnClick method with the attr method of jquery to get checked is to see the value of the checked attribute and whether it is not related to the hook
3. Use document.getElementById ("checkbox_id"). Checked gets the value with whether the hook is up to, that is, the WYSIWYG
4. Use $ ("#checkbox_id"). attr ("checked") the value obtained with <input type= "checkbox" ></input> checked situation one to, not WYSIWYG
5. Use $ ("#checkbox: Checked") to get a checkbox on the hook
6, document.getElementById ("checkbox_id"). Checked=true, the checked attribute in the control is not displayed, what is seen
7, $ ("#checkbox_id"). attr ("Checked", true), the checked property in the control is displayed, what is seen, and the code changes
The problem of the checked property of jquery and checkbox