禁用按钮:
$("#id").attr("disabled","true");
$("#id").attr("disabled",true);
$("#id").attr("disabled","disabled");
启用按钮:
$("#id").removeAttr("disabled");
$("#id").attr("disabled",false);
禁用按钮:
$("#id").attr("disabled","true");
$("#id").attr("disabled",true);
$("#id").attr("disabled","disabled");
启用按钮:
$("#id").removeAttr("disabled");
$("#id").attr("disabled",false);
本文标题:jquery disable按钮(启用、禁用按钮)
本文链接:https://www.haomeiwen.com/subject/odfuyftx.html
网友评论