$(function () { $("form").bind('submit', function () { $("#submitBtn").prop('disabled', true); }); });