onclick="this.disabled=true;return true;"
$("form").submit(function() { $(":submit", this).attr("disabled", "disabled"); });