Virajsinh

Get Checkbox Array Checked Value Using jQuery

Oct 14th, 2021 (edited)
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.16 KB | None | 0 0
  1. var docs_available_arr = new Array();
  2. $.each( $("input[name='documents_available[]']:checked"), function(index, el) {
  3.     documents_available.push($(this).val());
  4. });
Add Comment
Please, Sign In to add comment