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