I am rendering a form in Asp.net MVC with a submit button. The page redirects after successful record addition into the database. Following is the code :-
[HttpP
The solution for mvc applications with mvc client side validation should be:
$('form').submit(function () { if ($(this).valid()) { $(':submit', this).attr('disabled', 'disabled'); } });