HighDots Forums  

Re: Mozilla onload: "no properties"; IE OK

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Mozilla onload: "no properties"; IE OK in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lee
 
Posts: n/a

Default Re: Mozilla onload: "no properties"; IE OK - 07-02-2004 , 05:40 PM






kj said:
Quote:




This problem is driving me nuts. The code at the end of this post
below works fine with IE, but fails with Mozilla. You can see it
in action at

http://tinyurl.com/2jvo3

With Mozilla 1.4 and 1.6, the function msg works fine if it's
installed as an onclick handler for the button, but fails as an
onload handler for the page. The error is "console has no properties",
and is triggered by the line.
Mozilla is blocking popups. A window.open() call from
the onload handler is considered to be a popup that
should be blocked. You can change that setting.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.