enable disable button from jquery code example
Example 1: jquery add disabled to button
$("#button").attr("disabled", true);
Example 2: How disable button jquery
$( "button" ).prop( "disabled", true );
$("#button").attr("disabled", true);
$( "button" ).prop( "disabled", true );