• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

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.




0
chencc77
Asked:
chencc77
1 Solution
 
CJ_SCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now