hi, i can't get a child window communicate Back to the Main Window
This is my code:
var win1 = window.opener;
function f_close()
{
win1.corredor_f rame.sp_text_co rredor.innerTex t = "change this value";
window.close();
}
corredor_frame is the frame where the child window was opened, my problem is
this doesn't work with Mozilla , i got "win1.corredor_ frame has no
properties" error, instead it works fine with IE.
I'm very newbie with Javascript, it seems like i'm using some "only" IE
code, but i can't find the standar way.
Any help would be appreciated
This is my code:
var win1 = window.opener;
function f_close()
{
win1.corredor_f rame.sp_text_co rredor.innerTex t = "change this value";
window.close();
}
corredor_frame is the frame where the child window was opened, my problem is
this doesn't work with Mozilla , i got "win1.corredor_ frame has no
properties" error, instead it works fine with IE.
I'm very newbie with Javascript, it seems like i'm using some "only" IE
code, but i can't find the standar way.
Any help would be appreciated
Comment