Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: close the browser window with ASP after submitting a form?


Message #1 by "Edward Wu" <edward@s...> on Thu, 22 Mar 2001 19:42:54
I suggest that you add a clientscript-tag after you´ve run your servercode.

Example:

<%
Sub SaveInfo
dbConns(And****)
End Sub
%>

<%if no Errors%>
<script language="JavaScript">
top.close()
</script>
<%end if%>

  Return to Index