Expert Refresh

Check multiple

1) Check all checkboxes




2) Check if checkbox is checked






<script src=""></script> <form> <input type='checkbox' name='ck[]' value='v1'> text1 <br> <input type='checkbox' name='ck[]' value='v2'> text2 <br> <input type='checkbox' name='ck[]' value='v3'> text3 <br><br> <input type='checkbox' id='all' onClick="$(':checkbox').prop('checked', $('#all').prop('checked'));">Check All </form>


References



n/a