Explanation: on click calls getRadioValue()
  function getRadioValue(radioObject)
     { var value = null;
       for (var i = 0; i < radioObject.length; i++)
       { if (radioObject[i].checked)
         {  value = radioObject[i].value;
           break;
         }
       }
       return value;
     }                    

Here are some radio buttons

Dodgers
Yankees
Angels
Return to Main Page