1.两种方法设置disabled属性:

  $('#areaSelect').attr("disabled",true);

  $('#areaSelect').attr("disabled","disabled");

 2.三种方法移除disabled属性:

  $('#areaSelect').attr("disabled",false);

  $('#areaSelect').removeAttr("disabled");

  $('#areaSelect').attr("disabled","");


本文转载:CSDN博客