jQuery Ajouter un désactivé au bouton
$("#button").attr("disabled", true);
Breakable Beetle
$("#button").attr("disabled", true);
$('#btnSubmit').attr("disabled", false);
or
$('#btnSubmit').removeAttr("disabled");