I have two radio buttons:
<input checked="checked" class="survey_kind_input" type="radio" value="Short">
<input class="survey_kind_input" type="radio" value="Thorough">
I have the following javascript:
if($('.survey_kind_input').checked){
alert('in survey kind checked');
}
But it is not working. How do I successfully make the alert work?