if element clicked jquery code example
Example 1: if radio checked jquery
$('#element').click(function() {
if($('#radio_button').is(':checked')) { alert("it's checked"); }
});
Example 2: jquery is checked
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}