Code: Select all
function verifySave()
{
msg = confirm("Are you sure you want to save this data?")
if (msg != 0)
{
submitSave();
}
}any idea why???
Moderator: General Moderators
Code: Select all
function verifySave()
{
msg = confirm("Are you sure you want to save this data?")
if (msg != 0)
{
submitSave();
}
}Code: Select all
if(msg !=0)Code: Select all
function verifySave()
{
msg = confirm("Are you sure you want to save this data?")
if (msg)
{
submitSave();
} else { alert("did not save data") }
}