To close a tab window with a confirmation dialogue in Javascript you can use the following snippet.
Sample JS
function CloseTab() { if (confirm("Do you want to close this Window?")) { close(); } }
To close a tab window with a confirmation dialogue in Javascript you can use the following snippet.
function CloseTab() { if (confirm("Do you want to close this Window?")) { close(); } }