Solved

How to call function locate in window.opener

Posted on 2002-07-15
2
200 Views
Last Modified: 2010-08-05
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
Comment
Question by:chencc77
2 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 30 total points
Comment Utility
top.window.opener.passvalue(Id)

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

CJ
0
 

Author Comment

by:chencc77
Comment Utility
Thanks, it works. :)
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now