How can we access the value of a radio button using the DOM?
For eg. we have the radio button as :
If you need the selected one, most frameworks support functionality like this:
//jQuery $("input[name='sex']:checked").val()