Pop screen opening problem
-
Hi All, I have a button control. By clicking the button a pop-up page should come. I had written a javascript function to do that and that is working fine. But the problem is like this, if the popup is already opened thn again a new pop-up should not open even i am click the button. ie, new pop-ups page should come only when there is no pop-ups are already opened. I think this is a common scenario in web developing. Please let me know the solution. Thanks in Advance, ravi
-
Hi All, I have a button control. By clicking the button a pop-up page should come. I had written a javascript function to do that and that is working fine. But the problem is like this, if the popup is already opened thn again a new pop-up should not open even i am click the button. ie, new pop-ups page should come only when there is no pop-ups are already opened. I think this is a common scenario in web developing. Please let me know the solution. Thanks in Advance, ravi
-
Are u using Window.open() in javascript to open the pop up. If yes then by specifying a name for the popup window as second argument of window.open u can solve this problem. That is Window.Open(pageURL,SomeNameForPopUpWindow,WindowProperties);
Thank u very much Leena. The problem was solved. Thanku, yeggu