Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
Unable to call child window functions from parent window
Naresh Talluri
Ranch Hand
Posts: 115
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
I'm having issue with calling child window function from parent window.
here is my code snippet.
Parent window:
var childObj = windown.open("http://test-app.appspot.com"); childObj.test();
Child window:
function test() { alert("test it"); }
it is throwing alert like
test
function is not available.
can anyone please help me in this.
Thanks in Advance!
Eric Pascarello
author
Posts: 15385
6
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The window needs time to open and load fully before you can call the function inside of it.
Eric
Naresh Talluri
Ranch Hand
Posts: 115
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It will work fine if it is triggered from normal browser, but in my case im using XUL as platform
i'm facing trouble in this case, any thoughts?
Don't listen to Steve. Just read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
window.opener problem
Overriding/overloading
JavaScript Permission Denied...sometimes
Problems in acessing parent window from child
displaying parent and child images from database based on roleid
More...