CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   DOM and JSON scripting (http://www.codingforums.com/forumdisplay.php?f=15)
-   -   Safari on Mac does not recognize top.window.close or self.close (http://www.codingforums.com/showthread.php?t=286359)

Somsukla 01-24-2013 01:34 PM

Safari on Mac does not recognize top.window.close or self.close
 
Hi All,

We have a situation where we get a Pop up containing two buttons "Close" and "Yes". Both the buttons are used to close the Pop up with some functionality.
We previously used "top.window.close" to close the window. But in Safari Mac combination, the Pop Up closes automatically after it opens. We later tried "self.close" also to solve the problem. But the problem persist. We have used [window.showModalDialog()] to open the Pop up.

Does anyone have any idea on how to resolve this tricky problem in safari Mac combo? Thanks in advance.


All times are GMT +1. The time now is 02:43 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.