Hello all,
I'm having this jscript that's working with FF just fine; however, IE7 just won't response to it correctly (or the code is not written correctly, either way)
Basically, there's a form namely "form3" that I included onsubmit function to call the above confirmSubmit(). The confirm popup is displayed but it wouldn't redirect to go to the next page as specified like Firefox does. Why?
By the way, I'm writing this webpage with ASP.
Thanks!
I'm having this jscript that's working with FF just fine; however, IE7 just won't response to it correctly (or the code is not written correctly, either way)
Code:
function confirmSubmit()
{
if (confirm("This UPDATE action can not be undone. Are you sure you want to continue?"))
{
document.form3.action="category_update.asp";
document.form3.submit();
}
}
Basically, there's a form namely "form3" that I included onsubmit function to call the above confirmSubmit(). The confirm popup is displayed but it wouldn't redirect to go to the next page as specified like Firefox does. Why?
By the way, I'm writing this webpage with ASP.
Thanks!