change button to disabled jquery code example
Example 1: jquery add disabled to button
$("#button").attr("disabled", true);
Example 2: jquery remove disabled property from button
$("#edit").click(function(event){
event.preventDefault();
$('.inputDisabled').prop("disabled", false); // Element(s) are now enabled.
});