PDA

View Full Version : How to check new window is loaded or not



s_sameer
09-27-2005, 11:32 AM
I am trying to open a new window and wants to invoke 1 funtion in the opened window
but b4 invoking the function i want to check if the new window is loaded or not how to do this

Sameer

mwinter
09-27-2005, 11:32 PM
I am trying to open a new window and wants to invoke 1 funtion in the opened window
but b4 invoking the function i want to check if the new window is loaded or not how to do thisIt's not possible to ensure that a window has been opened and loaded from the opening page. Some pop-up blockers intentionally return values that look like successful results to disguise the failure.

Instead, execute a function when the opened document has loaded (within that document) and have it call a function in the opening page (if necessary).

Mike