Hi all,
I'm having this cofirmed function, but it run as YES anyway no matter user clicked CANCEL or closed alert window.
Thanks.
I'm having this cofirmed function, but it run as YES anyway no matter user clicked CANCEL or closed alert window.
Code:
function confirmSubmit()
{
if (confirm("This action can not be undone. Are you sure you want to continue?"));
{
document.form3.action="update.asp";
document.form3.submit();
}
}
Thanks.