disabled attribute to "disabled". Example:
// To disable
$('.someElement').attr('disabled', 'disabled');
In order to enable any disabled element you need to set the disabled attribute to empty string or remove it entirely like in the code below.
// To enable
$('.someElement').removeAttr('disabled');
// OR you can set attr to ""
$('.someElement').attr('disabled', '');
And that’s basically how to disable and enable HTML / DOM elements on your website using jQuery. You can see this code in action in real life example of Disabling submit button on form submission post.