jQuery <1.9
$('#inputId').attr('readonly', true);
jQuery 1.9以上
$('#inputId').prop('readonly', true);
上一篇 ReferenceError:Firefox中未定义事件错误
下一篇 Android,Java:HTTP POST请求
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号