get selected checkbox values in array - Jquery

get selected checkbox values in array

Snippet Code


  
Rate this page :
  [ 0 votes]

here is the snippet to get selected checkbox values in array,

var getSel = new Array(); $("input:checkbox[name=chk]:checked").each(function() { getSel.push($(this).val()); });

Tags


Ask Questions

Ask Question