| |
gmadankumar
Posts: 1
Score: 0
Joined: 8/2/2004
From: India
Status: offline
|
Iam using vbscript sub function to close a window, its working fine in IE but the window is not closing in MAC safari 1.2. can any one test and tell me whats the problem/solution. the code is: Sub ShowConfirmation() Response.Write "<HTML><Script Language=""JavaScript"">" Response.Write "function refreshParent()" Response.Write "{window.close();" Response.Write "return true; }</script></HEAD><BODY onload=""return refreshParent()""></Body></HTML>" End Sub If Request.QueryString("act") = "Cancel" Then ShowConfirmation end if thanks in advance
_____________________________
Madan
|
|