jquery得到checkbox选中的个数
var count = $("input[name='box']:checked").length;
<input name='box'>
<input name='box'>
<input name='box'>
var count = $("input[name='box']:checked").length;
<input name='box'>
<input name='box'>
<input name='box'>
评论功能维护中,当前仅展示历史评论。
:idea: