[Javascript] RE: [Javascript] I have some problem with window.close()

FERON Matthieu FERONMA at cic-i.com
Thu Nov 22 00:55:03 CST 2001


make your asp source
<%
bla bla bla bla
%>
then html source
<html>
<head>
<script language="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 : Komwit Siritorn [mailto:komwits at betagro.com]
Envoyé : jeudi 22 novembre 2001 03:29
À : javascript at LaTech.edu
Objet : [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. 


How I do it without close confirm? please help me .
                         Thanks
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20011122/d7698ca9/attachment.htm>


More information about the Javascript mailing list