John's Technical Blog
Showing posts with label
Javascript: Confirm logout and save document
.
Show all posts
Showing posts with label
Javascript: Confirm logout and save document
.
Show all posts
Tuesday, 3 November 2009
Javascript: Confirm logout and save document
function closeWindow() {
if (confirm('Are you sure you would like to logout?')) {
//document.forms['form1'].submit();
window.open('', '_self');
window.close();
};
}
Older Posts
Home
Subscribe to:
Posts (Atom)