jquery disable all form elements except one code example Example: jquery disable all forms $("#myForm :input").prop("disabled", true);