disable and enable button javascript by jquery code example Example: How disable button jquery $( "button" ).prop( "disabled", true );