window.open() Method’s Return Value
Monday, November 26, 2007
To handle references to a window properly, you should always assign the result of a window.open() call to a variable. A call to the window.open() method returns a value of the new window’s object if the window opens successfully, or null if it fails (due to low memory, for example). This value is vitally important if your script needs to address elements of that new window. After the new window is open, however, no parent-child relationship exists between the windows.... Read More
Labels : DiggIt! |
Del.icio.us