how to get if button is checked in jquery code example
Example: if radio checked jquery
$('#element').click(function() {
if($('#radio_button').is(':checked')) { alert("it's checked"); }
});
$('#element').click(function() {
if($('#radio_button').is(':checked')) { alert("it's checked"); }
});