- Joined
- Jul 19, 2010
- Messages
- 1
- Reaction score
- 0
- Points
- 1
Hi............
The problem is using Safari in Mac Oprating System.I am unable to Close Window using java script window.close() or self.close().I'm using the following code line, which is working fine with all browser of Window OS.
<script type="text/javascript">
<!--
self.focus();
setTimeout("self.close();",1);
//-->
</script>
and
<a href="javascript:window.close();">Close this window</a></span>
Any help most appreciated.
Mohan Reddy
The problem is using Safari in Mac Oprating System.I am unable to Close Window using java script window.close() or self.close().I'm using the following code line, which is working fine with all browser of Window OS.
<script type="text/javascript">
<!--
self.focus();
setTimeout("self.close();",1);
//-->
</script>
and
<a href="javascript:window.close();">Close this window</a></span>
Any help most appreciated.
Mohan Reddy