Solved

ASP Script Not Closing Window

Posted on 2012-04-05
2
198 Views
Last Modified: 2012-05-10
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>")

Thanks~
0
Comment
Question by:Bob Schneider
2 Comments
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37812310
<script>window.close();</script>
0
 

Author Comment

by:Bob Schneider
ID: 37816644
Same issue...I will turn of the error hiding and see what I get specificially
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
javascript comparing two dates 3 19
how can i make the array into an object? 4 32
JavaScript let vs var 5 27
Html Table looping 4 13
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question