![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/08/2010, 09:50
|
| | Fecha de Ingreso: agosto-2010 Ubicación: Madrid
Mensajes: 53
Antigüedad: 14 años, 6 meses Puntos: 1 | |
Respuesta: Crear PHP para ejecutar varias urls <script>
function ejecutar()
{
oculto1.location.href='pagina1.php';
oculto2.location.href='pagina2.php';
oculto3.location.href='pagina3.php';
}
</script>
<div onClick="ejecutar()">CASILLA</div>
<iframe width="0" height="0" frameborder="0" name="oculto1" id="oculto1"></iframe>
<iframe width="0" height="0" frameborder="0" name="oculto2" id="oculto2"></iframe>
<iframe width="0" height="0" frameborder="0" name="oculto3" id="oculto3"></iframe>
Los iframes no se ven en la pagina y te ejecuta las URL, supongo que para pasar datos a la base de datos o algo parecido.
Espero que te sirva! |