<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: [Javascript] I have some problem with window.close()</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>make your asp source</FONT>
<BR><FONT SIZE=2><%</FONT>
<BR><FONT SIZE=2>bla bla bla bla</FONT>
<BR><FONT SIZE=2>%></FONT>
<BR><FONT SIZE=2>then html source</FONT>
<BR><FONT SIZE=2><html></FONT>
<BR><FONT SIZE=2><head></FONT>
<BR><FONT SIZE=2><script language="Javascript"></FONT>
<BR><FONT SIZE=2>window.close();</FONT>
<BR><FONT SIZE=2></script></FONT>
<BR><FONT SIZE=2></head></FONT>
<BR><FONT SIZE=2><body></FONT>
<BR><FONT SIZE=2></body></FONT>
<BR><FONT SIZE=2></html></FONT>
</P>
<P><FONT SIZE=2>when the asp ( which is server side ) will finish, it'll send the html source to the client.</FONT>
<BR><FONT SIZE=2>so the javascript will execute and close the window.</FONT>
</P>
<P><FONT SIZE=2>-----Message d'origine-----</FONT>
<BR><FONT SIZE=2>De : Komwit Siritorn [<A HREF="mailto:komwits@betagro.com">mailto:komwits@betagro.com</A>]</FONT>
<BR><FONT SIZE=2>Envoyé : jeudi 22 novembre 2001 03:29</FONT>
<BR><FONT SIZE=2>À : javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2>Objet : [Javascript] I have some problem with window.close()</FONT>
</P>
<BR>
<P><FONT SIZE=2>I have an asp script that shows the user how far along a file upload is.</FONT>
<BR><FONT SIZE=2>When it finishes, I would like the window to close automatically --</FONT>
<BR><FONT SIZE=2>without the user having to push a button or link saying "close this</FONT>
<BR><FONT SIZE=2>window". Basically it would be something like this: tell browser: run</FONT>
<BR><FONT SIZE=2>this asp till finished on finish run this javascript to close window. </FONT>
</P>
<BR>
<P><FONT SIZE=2>How I do it without close confirm? please help me .</FONT>
<BR><FONT SIZE=2> Thanks</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Javascript mailing list</FONT>
<BR><FONT SIZE=2>Javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2><A HREF="http://www.LaTech.edu/mailman/listinfo/javascript" TARGET="_blank">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P>
</BODY>
</HTML>