|
|
Q358 Why when writing into a popup window does Internet Explorer return with 'Access is denied'?
irt.org | Knowledge Base | JavaScript | Window | Q358 [ previous next ] Q358 Why when writing into a popup window does Internet Explorer return with 'Access is denied'?Its because Internet Explorer 4 does not wait for the window to open before continuing with the attempt to write into the as yet unopened window, whereas Netscape waits for the creation of the window to complete before carrying on with the execution of the rest of the code. You could get around this by setting a timer so that you delay the update of the newly opened window for say 1 or 2 seconds, or you could get the newly opened windows onLoad event handler to request that the opener window updates the contents of the popup window:
And then in blank.htm:
Feedback on 'Q358 Why when writing into a popup window does Internet Explorer return with 'Access is denied'?' |
-- div -->
|