Permission Denied To Set Property Window.onunloadJul 20, 2005
This error occurs ONLY in Netscape 7.0. Not in 7.1. So, I think it's a
Has anyone had this problem or know of a fix?
When attempting to have an onunload function set with "window.onload=",
the error comes up
"permission denied to set property window.onunload"
I can't find a thing on this one. Setting it with the normal "<body
onunload" works fine. But isn't a great thing for me to do, since the
onload is part of a very large menu script.
Here's a test page to illustrate the problem. Netscape 7.0 has a problem
with this. 7.1 does not. IE is fine, too. Code: