Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] RE: [Javascript] I have some problem with window.close()
- From: javascript@xxxxxxxxxx (FERON Matthieu)
- Subject: [Javascript] RE: [Javascript] I have some problem with window.close()
- Date: Thu, 22 Nov 2001 07:55:03 +0100
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C17322.20486142 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable make your asp source <% bla bla bla bla %> then html source <html> <head> <script language=3D"Javascript"> window.close(); </script> </head> <body> </body> </html> when the asp ( which is server side ) will finish, it'll send the html source to the client. so the javascript will execute and close the window. -----Message d'origine----- De=C2=A0: Komwit Siritorn [mailto:komwits@xxxxxxxxxxx] Envoy=C3=A9=C2=A0: jeudi 22 novembre 2001 03:29 =C3=80=C2=A0: javascript@xxxxxxxxxx Objet=C2=A0: [Javascript] I have some problem with window.close() I have an asp script that shows the user how far along a file upload = is. When it finishes, I would like the window to close automatically -- without the user having to push a button or link saying "close this window". Basically it would be something like this: tell browser: run this asp till finished on finish run this javascript to close window.=20 How I do it without close confirm? please help me . Thanks _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx http://www.LaTech.edu/mailman/listinfo/javascript ------_=_NextPart_001_01C17322.20486142 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3DUTF-8"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2650.12"> <TITLE>RE: [Javascript] I have some problem with window.close()</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>make your asp source</FONT> <BR><FONT SIZE=3D2><%</FONT> <BR><FONT SIZE=3D2>bla bla bla bla</FONT> <BR><FONT SIZE=3D2>%></FONT> <BR><FONT SIZE=3D2>then html source</FONT> <BR><FONT SIZE=3D2><html></FONT> <BR><FONT SIZE=3D2><head></FONT> <BR><FONT SIZE=3D2><script = language=3D"Javascript"></FONT> <BR><FONT SIZE=3D2>window.close();</FONT> <BR><FONT SIZE=3D2></script></FONT> <BR><FONT SIZE=3D2></head></FONT> <BR><FONT SIZE=3D2><body></FONT> <BR><FONT SIZE=3D2></body></FONT> <BR><FONT SIZE=3D2></html></FONT> </P> <P><FONT SIZE=3D2>when the asp ( which is server side ) will finish, = it'll send the html source to the client.</FONT> <BR><FONT SIZE=3D2>so the javascript will execute and close the = window.</FONT> </P> <P><FONT SIZE=3D2>-----Message d'origine-----</FONT> <BR><FONT SIZE=3D2>De=C2=A0: Komwit Siritorn [<A = HREF=3D"mailto:komwits@xxxxxxxxxxx">mailto:komwits@xxxxxxxxxxx</A>]</FON= T> <BR><FONT SIZE=3D2>Envoy=C3=A9=C2=A0: jeudi 22 novembre 2001 = 03:29</FONT> <BR><FONT SIZE=3D2>=C3=80=C2=A0: javascript@xxxxxxxxxx</FONT> <BR><FONT SIZE=3D2>Objet=C2=A0: [Javascript] I have some problem with = window.close()</FONT> </P> <BR> <P><FONT SIZE=3D2>I have an asp script that shows the user how far = along a file upload is.</FONT> <BR><FONT SIZE=3D2>When it finishes, I would like the window to close = automatically --</FONT> <BR><FONT SIZE=3D2>without the user having to push a button or link = saying "close this</FONT> <BR><FONT SIZE=3D2>window". Basically it would be something like = this: tell browser: run</FONT> <BR><FONT SIZE=3D2>this asp till finished on finish run this javascript = to close window. </FONT> </P> <BR> <P><FONT SIZE=3D2>How I do it without close confirm? please help me = .</FONT> <BR><FONT = SIZE=3D2> &nb= sp; &nb= sp; Thanks</FONT> <BR><FONT = SIZE=3D2>_______________________________________________</FONT> <BR><FONT SIZE=3D2>Javascript mailing list</FONT> <BR><FONT SIZE=3D2>Javascript@xxxxxxxxxx</FONT> <BR><FONT SIZE=3D2><A = HREF=3D"http://www.LaTech.edu/mailman/listinfo/javascript" = TARGET=3D"_blank">http://www.LaTech.edu/mailman/listinfo/javascript</A><= /FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C17322.20486142--
- Prev by Date: [Javascript] I have some problem with window.close()
- Next by Date: [Javascript] no title on modal dialogs
- Previous by thread: [Javascript] I have some problem with window.close()
- Next by thread: [Javascript] The best jobs aren't advertised . . . . .
- Index(es):