Retroceder   Foro Respuestas > Internet > Preguntas

Respuesta
 
Herramientas Desplegado
  #1  
Antiguo 22/07/08, 04:53:48
littman littman Está Desconectado
Junior Member
 
Fecha de Ingreso: jul 2008
Mensajes: 1
Predeterminado Window.open no funciona dice permiso denegado

Necesito comunicar dos paginas html utilizo esto:
EN padre.html aqui activo ala hija
<SCRIPT>
var sWinGred;
function abreVentana(){
var mipage ="http://c-gmdsa-1145/siggaudi/viewer.htm";
var nombre = "Gred";
winprops = "height="+400+",width="+650+",scrollbars=yes, resizable"
window.parent.sWinGred = window.open(mipage, nombre, winprops);
}
function enviaDatoA_HIja(){
var datoGaS;
datoGaS= document.formG.dato1.value;
sWinGred.parent.hija.f_EnviaGAS(datoGaS); //DICE AQUI ERROR
alert(datoGaS);
}
</SCRIPT>

EN hija.html

<SCRIPT>
function jsf_EnviaGAS(datoGaS){
document.formM.salT.value=datoGaS ;
}
</SCRIPT>
Por que ho se logra activar la funcion jsf_EnviaGAS(datoGaS) que invoco desde padre.jtml.
Responder Con Cita
Respuesta


Herramientas
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT. Ahora son las 11:38:34.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
     
   
 
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.