jQuery使控件只读代码

 $('#averagediameter').attr("readonly", 'readonly');
原文地址:https://www.cnblogs.com/QiuJL/p/4524324.html