摘要: 1.对元素设置disabled以及readonly属性$("#uid").attr("disabled",true);$("#uid").attr("readonly",true);2.取消其属性$("#uid").attr("disabled",false);$("#uid").attr("readonly",false);区别: Readonly只针对input(text / p... 阅读全文
posted @ 2018-02-22 18:09 郑叶叶 阅读(205) 评论(4) 推荐(0) 编辑