摘要:
How can I disable jquery validation on readonly fields? http://stackoverflow.com/questions/10803294/how-can-i-disable-jquery-validation-on-readonly-fi 阅读全文
摘要:
jQuery <1.9$('#inputId').attr('readonly', true); jQuery 1.9+$('#inputId').prop('readonly', true); Read more about difference between prop and attr 阅读全文