Click to See Complete Forum and Search --> : Avoiding Confirmation


bharadwajrv
July 24th, 2002, 06:13 AM
Hi,
if i use
window.close(); it is asking for "Do u wish to close?".. how toavoid it..

Pl. help me

thanks in adv.
VEnu

goddess_spanky
July 24th, 2002, 09:32 AM
You can't avoid the confirmation window the first time it appears.
If the user clicks "yes" to allow your script to close the window, then next time, the browser will not prompt the user.

I have only experienced this with IE, I'm not sure about netscape's behaviour regarding the window.close(); confirmation.

Zvona
July 25th, 2002, 04:31 AM
http://www24.brinkster.com/zvona/htmlexa.asp?article=04