how to exit a web application from browser in jquery code example Example: javascript close current tab window.close();//closes the current browser tab