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(); } }
All the Code Snippets and Samples you need
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(); } }
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to close a tab window in #JS http://t.co/zfaF7wB88U #javascript #html #php
RT @CodeSnippetsNET: How to close a tab window in #JS http://t.co/zfaF7wB88U #javascript #html #php