$(function(){ $('form').on('submit', function () { setTimeout(function () { $('form input,select').prop('disabled', true); }, 500); }); });