Jquery操做checkbox复选框

一、获取checkbox选中值 $("input:checkbox:checked").val(); $("input[type='checkbox']:checked").val(); $("input[type='checkbox'][name='xxx']:checked").val(); 二、设置Value值为'xxx'设置checkbox为选中值 $("input:checkbox[va
相关文章
相关标签/搜索