![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/09/2009, 13:47
|
![Avatar de Adler](http://static.forosdelweb.com/customavatars/avatar163014_6.gif) | Colaborador | | Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 18 años, 1 mes Puntos: 126 | |
Respuesta: no ejecuta el script Hola
Prueba con hash Cita: <a href='sigpag.htm#Opc1' >Primera opción</a>
<script >
var r=window.location.hash;
switch (r)
{
case "Opc1":
instrucciones
break;
case "Opc2":
instrucciones
break;
case "Opc3":
instrucciones
break;
}
</script> Suerte
__________________ Los formularios se envían/validan con un botón Submit <input type="submit" value="Enviar" style="background-color:#0B5795; font:bold 10px verdana; color:#FFF;" /> |