Jquery Input按钮的disabled属性操作

   document.getElementById("removeButton").disabled = false;//普通Js写法 
    $("#removeButton").removeAttr("disabled");//要变成Enable,JQuery只能这么写 
    $("#removeButton").attr("disabled","disabled");//再改成disabled 

你可能感兴趣的:(jquery,input,button)