how to set input button disabled in jquery code example
Example 1: jquery add disabled to button
$("#button").attr("disabled", true);
Example 2: disable input field with jquery
// Disable #x
$( "#x" ).prop( "disabled", true );
// Enable #x
$( "#x" ).prop( "disabled", false );