设置只读属性 $('#stage').attr("readonly", "readonly"); 移除只读属性 $("input").removeAttr("readonly"); 转载于:https://www.cnblogs.com/Deerjiadelu/p/7365846.html