disable button by id using jquery code example Example: How disable button jquery $( "button" ).prop( "disabled", true );