Hi this is a jquery question:
jquery
supposed i have this:
you should be using radio buttons and not checkboxes to allow one choice out of many.
then things will get really simple:
$("#submit").click(function(){ alert($('[name="select"]:checked').val()); });