Advanced Search

Results 1 to 2 of 2

Thread: How to check new window is loaded or not

  1. #1
    Join Date
    Sep 2004
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to check new window is loaded or not

    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

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by s_sameer
    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
    It'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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •