Hi
I have a main window with a button and when i click on it it opens another window, after which i have given an alert message when this alert comes the popup window gets minimized.How to stop this??
This is my code
When the alert "hi" comes the window which is opened gets minimized .How to stop thatCode:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Untitled</title> </head> <script language="javascript"> function test(){ var win=window.open(); alert("hi"); } </script> <body> <form name=f1> <input type="button" value="click" onClick="test()"> </form> </body> </html>![]()
Thanks
Sreenath




Reply With Quote