hi
assumed that you have two radio buttons
<div>
<input type="radio" id="radioMale" name="test"/>Male<br />
<input type="radio" id="radioFemale" name="test"/>Female
<br />
<input type="button" value="Test!" id="btnTest" onclick="GetGender();"/>
</div>
and now on button click
function GetGender(){
if ($('#radioMale').is(':checked')) {
alert('Gender is Male');
}
if ($('#radioFemale').is(':checked')) {
alert('Gender is Female');
}
}