no se si se puede hacer asi es que mando el link a ver si se me entiende mejor:
http://www.devtec.cl/expo/menu/presupuesto.php
Atte
Mauricio
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
| |||
![]() Hola, la cosa es tal cual. tengo un php que abre un link, luego este abre otro link y desde este ultimo debo mandar informacion hacia su abuelo... no se si se puede hacer asi es que mando el link a ver si se me entiende mejor: http://www.devtec.cl/expo/menu/presupuesto.php Atte Mauricio ![]() |
| |||
Holas; ![]() Te digo como hacerlo, a mi me resultó perfecto, lo quieres se realiza de la siguiente manera: formulario.html
Código:
Ventana buscar.html:<html> <head> <title></title> <script> var openwin; function abrir() { openwin = window.open("buscar.html","","width=120,height=150,resizable=no"); } </script> </head> <body> <center> <table border=0 cellspacing=0 cellpadding=0> <tr> <td>nombre : </td> <td><input type=text size=20 id=nombre></td> </tr> <tr><td height=10 colspan=2></td></tr> <tr> <td><input type=button value=Buscar onclick=abrir();></td> </tr> </table> </center> </body> </html>
Código:
Nos vemos. <html> <head> <title></title> <script> function renviar() { with(document) { var ind = getElementById('combo').selectedIndex; var texto = getElementById('combo').options[ind].text; var path = opener.document; if(ind > 0) { with(path) { getElementById('nombre').value = texto; } } else { alert("Seleccionar un Dato"); } } } </script> <head> <body> <center> <select id=combo onchange=renviar();> <option>---- <option>ValorA <option>ValorB <option>ValorC </select> </center> </body> </html> ![]() |
| |||
![]() Funciona super!, pero la idea es que, como te decia un formulario padre abre un hijo, este a su vez abre a otro y este ultimo es el que reenvia una informacion al inicial. es decir como hago referencia al primer formulario no al anterior. Atte Mauricio Gonzalez ![]() |
| |||
![]() Bueno, en realidad no soy muy entendido en js. pero se me ocurre la idea de pasar el valor al hijo, cerrar esta ventana, luego lo mismo hasta llegar al abuelo. Les cuento si resulta. Atte Mauricio :-p |