Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: ConfirmExt Function - JavaScript

Compare Page Revisions



« Older Revision - Back to Page History - Current Revision


Page Revision: Tue, Dec 01, 2009, 3:01 PM


At times, Internet Explorer will respond incorrectly to the confirm JavaScript function. The following confirmExt function corrects this shortcoming.

function confirmExt(prompt)
{   
    if (confirm(prompt)==false)
    {
        if (event != null) event.returnValue = false;
        return false;
    } 
    else 
    {
        return true;
    }
}

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.