SyntaxFix
Write A Post
Hire A Developer
Questions
To get the value you would do this:
document.getElementById("genderf").value;
But to check, whether the radio button is checked or selected:
document.getElementById("genderf").checked;