Reputation: 363
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.
Upvotes: 0
Views: 960
Reputation: 14049
JSFiddle code: http://jsfiddle.net/XaSKY/ to see in action.
You can use window.close()
function
Upvotes: 7