I\'m having a problem always when I\'m trying to close a window through the window.close() method of the Javascript, while the browser displays the below messag
window.close()
You can't close a current window or any window or page that is opened using '_self' But you can do this
var customWindow = window.open('', '_blank', ''); customWindow.close();