Thank you very much.  It works!!!

Arnnie


--- In [EMAIL PROTECTED], "Andy and Kim Mills" 
<[EMAIL PROTECTED]> wrote:
> 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 --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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