close tab with jquery code example
Example 1: onclick cloSe tab in jquery
To close current tab
window.top.close();
Example 2: close browser tab using jquery
window.top.close();
this will close the current tab for you.
To close current tab
window.top.close();
window.top.close();
this will close the current tab for you.