JS Überprüfen Sie, ob das Optionsfeld überprüft wird
if(document.getElementById('gender_Male').checked) {
//Male radio button is checked
}else if(document.getElementById('gender_Female').checked) {
//Female radio button is checked
}
Stupid Squirrel