$("#id").attr("disabled","disabled");  
$("#id").removeAttr("disabled");  

添加就是attr ,取消则是reomveAttr(注意A大写)

 

推荐下自己的网站:

一个php后台极速开发框架 https://www.lotusadmin.top/

一个有趣的网站   https://www.waytomilky.com/

相关文章:

  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案