I need to obtain the value of a radio button using javascript
I have a radio group called selection
Use:
function getRadioValue(name) { var group = document.getElementsByName(name); for (var i=0;i
Application:
var selectedValue = getRadioValue('selection');
Demo:
http://www.jsfiddle.net/tqQWT/