Close Window in Submit

windows

Guest
How can I close a pop-up window automatically after a submit script executes?

Thanks~response.write a javascript tag containing window.close();I was thinking about a response.redirect? How can I get the window to close automatically after an asp submit script has been run? Basically if the window contains data that they choose to delete (ie: a user account) then I want the window to close.

Thanks...I got it to work. Here is what I used:


Response.Write("<script type='text/javascript'>{window.close() ;}</script>")
 
Back
Top