0

I want to make a simple html page with javascript which auto-closes itself after opening.

My main aim is that I want to redirect the user to this page after some data update in the popup window so that windows gets closed after the data is updated.

I am not able to figure it out.

3
  • you want to close a popup window after doing something? Commented Jan 2, 2013 at 3:52
  • I am not able to figure it out. likely find it in google faster than creating this question Commented Jan 2, 2013 at 4:34
  • i tried window.close before and it didn't worked , i thought i was doing wrong. then i realised there was some script error Commented Jan 2, 2013 at 4:56

1 Answer 1

7

JSFiddle code: http://jsfiddle.net/XaSKY/ to see in action.

You can use window.close() function

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.