ASP Script Not Closing Window

Bob Schneider
Bob Schneider used Ask the Experts™
This is a script I use to close a window if the record is deleted.  It works if I open a browser on the server but it throws an error elsewhere.  Any idea what is wrong with it?

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

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Bob SchneiderCo-Owner


Same issue...I will turn of the error hiding and see what I get specificially

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial