I need to avoid the double click submitting behavior. I\'m using the client validation with the unobtrusive library. I have the following code for avoiding the double clic:<
$('form').submit(function () { $('input[type="submit"]', this).attr('disabled', 'disabled'); });