Using [checked] or [checked="checked"]
This question already has an answer here:
When you use the following, you won't be able to get the value of checked as there is no value.
<input type="checkbox" checked />
When you use the following, you can get the checked value of the checkbox. This might be helpful in fetching the checkbox checked value using javascript or jQuery.
<input type="checkbox" checked="checked" />
链接地址: http://www.djcxy.com/p/56038.html
上一篇: '在'wordpress'勾选'复选框
下一篇: 使用[选中]或[选中=“选中”]