Wednesday 24 July 2013

To call root parent's function from n-th child window using javascript

If you want to call the topmost window function from n-th child window call

window.top.abc(); //abc() is the function in the topmost window.

No comments:

Post a Comment

Total Pageviews