1,开启disabled,设置input不可编辑
$("#id").attr("disabled","disabled");
2,关闭disabled,可以编辑
$("#id").removeAttr("disabled");
posted on 2015-12-01 10:52 勤奋者努力着 阅读(456) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 勤奋者努力着 Powered by .NET 9.0 on Kubernetes