Solved

How to call function locate in window.opener

Posted on 2002-07-15
2
201 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
ID: 7154013
top.window.opener.passvalue(Id)

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

CJ
0
 

Author Comment

by:chencc77
ID: 7154027
Thanks, it works. :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Following as example - where do I place this javascript line? 6 31
CSS Scroll Issue 3 90
Sums of coloumns in html/java 15 67
Wrapper for APPs 9 35
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

920 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

12 Experts available now in Live!

Get 1:1 Help Now