Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/05/2004, 03:18
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola, Stramonio.

Si tus radios son así:

<input type="radio" name="rad" value="1" />
<input type="radio" name="rad" value="2" />
<input type="radio" name="rad" value="3" />

Averiguas el valor con este código:
Código PHP:
    elem=document.getElementsByName('rad');
    for(
i=0;i<elem.length;i++)
        if (
elem[i].checked) {
            
valor elem[i].value;
            return;
        } 
Espero que te sirva. Saludos,