I want to auto-close window after users confirm password changed, so
<script>
alert('password changed!');
window.opener = window.location.href;
self.close();
</script>
It works in IE, but not works in Chrome.
<script>
window.open('', '_self', '');
window.close();
</script>
this not works , too
why not works in Chrome ? & How can i work this?