Ver Mensaje Individual
  #6 (permalink)  
Antiguo 24/12/2009, 08:04
Avatar de jackson666
jackson666
 
Fecha de Ingreso: noviembre-2009
Ubicación: Buenos Aires, Argentina
Mensajes: 1.971
Antigüedad: 14 años, 6 meses
Puntos: 65
Respuesta: Redirigir a disitntas webs dependiendo del radiobutton que eligas

Jajajaj, no me entendiste....

Que tenes en el value del radio????

Código Javascript:
Ver original
  1. function entrar_buscador(){
  2.                     var i;
  3.                     var google = "http://www.google.es";
  4.                     var yahoo = "http://www.yahoo.es";
  5.                     var altavista = "http://www.altavista.es";
  6.                    
  7.                     for (i=0;i<document.formu.buscador.length;i++){
  8.                    
  9.                                 if(document.formu.buscador[i].value.checked == "google"  ){
  10.                                     document.location.href=google;
  11.                                     break;
  12.                                 }
  13.                                
  14.                                 if(document.formu.buscador[i].value.checked == "yahoo"  ){
  15.                                     document.location.href=yahoo;
  16.                                     break;
  17.                                 }
  18.                                
  19.                                 if(document.formu.buscador[i].value.checked == "altavista"  ){
  20.                                     document.location.href=altavista;
  21.                                     break;
  22.                                 }
  23.                                
  24.                     }
  25.                    
  26.                 }
__________________
HV Studio
Diseño y desarrollo web