让提供按纽失效的jQuery代码片段 2015/01/23 14607 $('input[type="submit"]').attr("disabled", true); Now, in order to enable the disabled attribute, use the following line of code: $('input[type="submit"]').removeAttr("disabled”);