I have several input checkboxes, (they name is same for send array on server).
So, I need get each value this checkboxes and I want use as selector checkbox names, this
// get checkbox values using checkbox's name
// get only the values witch are checked
function getCheckBoxValues(){ $('[name="checkname"]').each( function (){ if($(this).prop('checked') == true){ alert($(this).val()); } }); }