摘要: How can I disable jquery validation on readonly fields? http://stackoverflow.com/questions/10803294/how-can-i-disable-jquery-validation-on-readonly-fi 阅读全文
posted @ 2016-11-08 15:04 任国强 阅读(224) 评论(0) 推荐(0) 编辑
摘要: jQuery <1.9$('#inputId').attr('readonly', true); jQuery 1.9+$('#inputId').prop('readonly', true); Read more about difference between prop and attr 阅读全文
posted @ 2016-11-08 14:44 任国强 阅读(235) 评论(0) 推荐(0) 编辑