//两种方法设置disabled属性

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

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

  //三种方法移除disabled属性

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

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

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

显示隐藏

if($('#id').css('display') == 'none'){}

if($("#test").is(":hidden")){...}

04-22 10:26