How to call function locate in window.opener

Hi, In Parent window, i try to pop-up a child window, in the child window got a Iframe. Iframe will do some process and afterthat it will call a function in Parent window. I get the error message - "Object doesn't support this property or method"
I use the following syntaks :
window.opener.passvalue(Id);

//passvalue locate function in Parent window

Thanks.




chencc77Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CJ_SConnect With a Mentor Commented:
top.window.opener.passvalue(Id)

but that will only work if the main page has no frames!

CJ
0
 
chencc77Author Commented:
Thanks, it works. :)
0
All Courses

From novice to tech pro — start learning today.