Ver Mensaje Individual
  #4 (permalink)  
Antiguo 22/11/2002, 16:51
Avatar de Kaopectate
Kaopectate
Colaborador
 
Fecha de Ingreso: diciembre-2001
Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 22 años, 4 meses
Puntos: 38
Yo lo haría asi:

Código PHP:
<html>
 <
head>
  <
script language="JavaScript">

   var 
valorRadio 0;

   function 
valor(oRadio){
     
valorRadio oRadio.value;
   }

   function 
leeValor(){
    
document.frm.res.value valorRadio;
   }

  
</script>
 </head>
 <body>
  <form name="frm">
   <table border="0">
    <tr>
     <td>
      <input type="radio" name="rad" value="[email protected]

onclick="valor(this)">[email protected]
     </td>
     <td>
      <input type="radio" name="rad" value="[email protected]

onclick="valor(this)">[email protected]
     </td>
    </tr>
    <tr>
     <td>
      <input type="text" name="res">
     </td>
     <td>
      <input type="button" name="leer" value="¿Cual e-mail?" onclick="leeValor()">
     </td>
    </tr>
   </table>
  </form>
 </body>
</html> 
Saludos.