JQuery让input从disabled变成enabled

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