Rate this script:  I Love it  /   I Hate it

select one option in radio button


Code


function isRadio(camporadio) {
 var tamanho = camporadio.length;
 var retorno = false;
 for (var cont = 0; cont < tamanho; cont++) {
  if(camporadio[cont].checked) {
    retorno = true; break;
  }
 }
 return (!retorno) ? false : true;
}
 

 

 
select one option in radio button scripts | select one option in radio button snippet | select one option in radio button example | select one option in radio button tutorial | select one option in radio button code