用prop()方法:

if($(#btn).prop(“disabled”)==true){//如果按钮是不可用的
 xxxxx
 }