$(".selector").submit(window.mySubmitHandler);
function mySubmitHandler(evt) {
$("#submitButton").attr("disabled", true);
//do other stuff here if you want
//redefine the function in the function itself
window.mySubmitHandler = function(evt) {
evt.preventDefault();
}
return true;
}