How does jquery determine whether checkbox (check box) is selected? jquerycheckbox
Everyone knows that in html, if a check box is selected as checked = "checked ".
The example contains several functions.
<! Doctype html public "-// W3C // dtd html 4.0 Transitional // EN">
<BODY>
<Form name = "form1" method = "post" action = "">
<Input type = "button" id = "btn1" value = "select all">
<Input type = "button" id = "btn2" value = "cancel all">
<Input type = "button" id = "btn3" value = "select all odd numbers">
<Input type = "button" id = "btn4" value = "reselect">
<Input type = "button" id = "btn5" value = "get all selected values">
<Br>
<Input type = "checkbox" name = "checkbox" value = "checkbox1">
Checkbox1
<Input type = "checkbox" name = "checkbox" value = "checkbox2">
Checkbox2
<Input type = "checkbox" name = "checkbox" value = "checkbox3">
Checkbox3
<Input type = "checkbox" name = "checkbox" value = "checkbox4">
Checkbox4
<Input type = "checkbox" name = "checkbox" value = "checkbox5">
Checkbox5
<Input type = "checkbox" name = "checkbox" value = "checkbox6">
Checkbox6
<Input type = "checkbox" name = "checkbox" value = "checkbox7">
Checkbox7
<Input type = "checkbox" name = "checkbox" value = "checkbox8">
Checkbox8
</Form>