转载自:http://blog.csdn.net/wangjun5159/article/details/47659229 禁用按钮: [html] view plain copy $("#id").attr("disabled","true"); $("#id").attr("disabled",true); $("#id").attr("disabled","disabled"); 启用按钮: [html] view plain copy $("#id").removeAttr("disabled"); $("#id").attr("disabled",false); 注意: [html] view plain copy 1、$("#id").attr("disabled","false");不起作用 2、disabled只能禁用button,对超链接不起作用