[Javascript] window.open() not working in onLoad() of Mozilla 1.5

Antony Paul antonypaul24 at hotmail.com
Sat May 1 01:35:38 CDT 2004


Hi all,
  I have problem in opening a new window from the onLoad() event of the body
in Mozilla 1.5. It is calling another function which opens a new window. If
I call the function in a button click it works.
This is syntax I used
var x = window.open("newwindow.jsp","name","toolbar=no,location=no");

It is invoked in onLoad();
<body onLoad="winOpen()">

what is wrong with it. It is not giving any error in the JavaScript console.

Antony Paul




More information about the Javascript mailing list