I have a data entry form as razor view in my MVC application. This view contains, some input controls, validators, and a submit button. when a user hits Submit button, it performs validations, and if any of them gets failed the user submit method gets terminated. When all validations are satisfied, the form gets submitted, but it takes a little more amount of time as some business logic gets executed. Now I do not want users to allow hitting submit button during this. And so Submit button should be disabled, and it should be re-enabled once the submit is completed.
How can I achieve this? I think I need to write JQuery for this, but not sure, which event to handle.