button disabled jquery until press enter code example Example: How disable button jquery $( "button" ).prop( "disabled", true );