type submit automatically disabled jquery problem code example Example: How disable button jquery $( "button" ).prop( "disabled", true );