Yahoo free web hosting - 372Part IIIDocument Objects ReferenceListing 16-4:Checking Before Closing a

372Part IIIDocument Objects ReferenceListing 16-4:Checking Before Closing a Window


To complete the example of the window opening and closing, notice that the subwindow isgiven a button whose onclickevent handler closes the main window. In modern browsers, the user is presented with an alert asking to confirm the closure of the main browser window. Related Items:window.open(), window.close()methods. Components(See appCore) controllers(See appCore) windowObject.closed

Leave a Reply