njk966
03-15-2003, 01:18 PM
I have an ASP page that displays info, if user decides to save info via submit button it then submits page data back to itself and returns a var back to the calling page.
Problem: Closing window automatically after ASP code processed
My Go At It:
<FORM ID="Form1" method="post" action="SaveInfo.asp;window.close();self.opener.ReturnFunction("SomeVar");>
<% Sub DisplayInfo()
<input type=submit value=Save>
%>
<% Sub SaveInfo()
<input type=submit value=Save>
%>
Problem: Closing window automatically after ASP code processed
My Go At It:
<FORM ID="Form1" method="post" action="SaveInfo.asp;window.close();self.opener.ReturnFunction("SomeVar");>
<% Sub DisplayInfo()
<input type=submit value=Save>
%>
<% Sub SaveInfo()
<input type=submit value=Save>
%>