No, read what I wrote.
The return true should be enough.
Only thing I can think of is that there is a problem in the code to show the overlay, though I dunno what it would be.
Best I could suggest is SIMPLIFY. Get rid of
onsubmit="$('#loaderDiv').show();" from the <form> tag.
And then modify the submit button to this:
Code:
<input type="submit" name="okButton" id="okButton" class="shortButton" value="OK"
onclick="this.disabled=true;this.form.cancelButton.disabled=true;
document.getElementById('loaderDiv').style.display='block';return true;"/>
You do know that the <form> will be submitting back to this same page?
Hmmm...actually, that might be part of the problem. Instead of
action="#" try using just
action="" ???