Arnie:

I had this happen before, and what I had to do was set the opener value in JavaScript 
before I closed the window:

<SCRIPT LANGUAGE = "JavaScript">
  opener=1;
  self.close();
</SCRIPT>

If I remember correctly:  what happened was, the main window has an opener value of 0, 
meaning it was the main / parent window and couldn't not be closed (without first 
asking).  So I had to trick the window into thinking it was a child window by setting 
the opener=1 

HTH
Andy

----- Original Message -----

> Dear Friends:
> 
> I have an application in which the user has a botton to exit the 
> application and close the window.  However, when the user click the 
> exit button it provide a dialog box telling for the user to deside to 
> close it or no to close it.  I want to close the window without 
> displaying the dialog box.  
> The code that I am using is this:
> window.close()
> 
> Can someone assist me on this? 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to