Hello to all i need to open new browser window automatically.
Here is code where i have to click on button to open window :
myWindow.document.write("<p>This is 'myWindow'</p>");
Please how i can open window , without clicking on button so window just open automatically ?
07-14-2013, 07:18 PM
Technically, you could simply put your window.open() code in the <body> or use an onload event to call your openWin function, but the pop-up blockers in most browsers will prevent a new window from opening automatically without an explicit user action like a click on a button.