Hi this is a jquery question:
jquery
supposed i have this:
Get ID using this way
$(".select:checked").attr('id');
Also keep in mind that if only one can be selected, it's better to change it to radio.
radio