Jquery disable form elements on submit

How to disable or enable a form element using jQuery Disable or Enable an Input with jQuery;