detect if radio is check code example
Example: check if radio button is checked
$('#element').click(function() {
if($('#radio_button').is(':checked')) { alert("it's checked"); }
});
$('#element').click(function() {
if($('#radio_button').is(':checked')) { alert("it's checked"); }
});