I want to close my window/tab when the close button is clicked on the same page.
I used window.close()
method. It works perfectly for IE versions, but it doesn't work for Firefox and Chrome.
I searched a lot for a solution. Please give me a demo solution.