In a div, I have some checkbox. I\'d like when I push a button get all the name of all check box checked. Could you tell me how to do this ?
You should use map for this.
$('input[type=checkbox]:checked').map(function(i, e) { return $(e).val(); });