We set the type attribute is checkbox, remember these three key points
1. When the check point or click, checked is selected, the input tag is checked = "checked", pay attention to whether there is checked = "What is there to write selected"; checked just attribute properties,
2, checked or unchecked checkbox selected will return a Boolean true, false unchecked
3. Note that the value of the selected value, then the label may be transmitted to the server can not unchecked
----------------
Disclaimer: This article is the original article CSDN bloggers' night is not good ", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/sr2017/article/details/69729783