表单禁用 发表于 2016-12-17 var checkk = $(“#bossstorechose input”); checkk.setAttribute(“disabled”,”disabled”); $(“#unity button”).attr(“disabled”, true); HTML添加angular属性ng-diabled:”val”; js赋值变量值为true val=true;