Quantcast
Channel: How to call root parent's function from n-th child window using javascript? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by SHIBIN for How to call root parent's function from n-th child...

If you want to call the topmost window you can just call thiswindow.top.abc(); //abc() is the function in the topmost window.

View Article



Answer by Soul_man for How to call root parent's function from n-th child...

I suppose we are talking about recursion here.If we know function name that must be called from root window then we may do the following:<script type="text/javascript"> function...

View Article

How to call root parent's function from n-th child window using javascript?

there.Let's say that I don't know how many child window would be open by window.showModalDialog.If it's only 1 depth between child and parent, it would be easy to call parent's function using...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images