I\'m currently using jquery to trap the submission of a form and show users a dialog for confirmation. If user clicks yes, then form should submit. If user clicks no, then c
Intstead of using the jQuery object to submit the form, you can use the DOM element that the jQuery object refers to to submit the form. This bypasses the jQuery event handler. Your OK function would look like this:
"OK": function () {
$dialog.dialog('close');
$("#myform").get(0).submit(); // use the underlying DOM element to sumbit
return false;
},