Hi this is a jquery question:
jquery
supposed i have this:
There are multiple elements. You need to check for all checkbox having same class
$("#submit").click(function(){ $(".select:checked").each(function(){ alert($(this).attr('id')); }); });