I have "Exit" button in my page.When ever i clicked on that button,current  browser tab should be closed.I wrote below code, this is working in IE  browser only but it needs to work in Chrome and Firefox. 
Please help me.
 $("#btnExit").click(function (event) {
                window.top.close();
            });