Groups | Blog | Home
all groups > dotnet jscript > february 2005 >

dotnet jscript : Help on javascript (silent close)



kishor
2/14/2005 1:51:04 AM
Hi all,
I have a following statement in my script .. window.opener.close();

THis is closing window but I dont want messege box to be displayed..please
suggent me way to achieve this

Steve Fulton
2/14/2005 7:12:49 AM
[quoted text, click to view]

You can't silently close windows by script unless you opened them by script.
Either learn to live with the message box or find another way to accomplish
whatever it is you're trying to do.

--
Steve

Never explain--your friends don't need it, and your enemies won't
hoz
2/15/2005 3:57:07 PM
try this code in popup window . it is like a back door ;)
window.opener.window.opener = window.opener.self;
window.opener.self.close();


[quoted text, click to view]

jayaprakash
4/21/2005 12:00:00 AM
refer to this web page, it is explained how to do it. hope this helps

www.jennifermadden.com/162/examples/windowClose.html

From http://www.developmentnow.com/g/37_2005_2_0_0_150274/Help-on-javascript-silent-close.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button