在表单提交中,设置input不可编辑,但是可以向后台传输数据,的设置方法: $('#input').attr("readonly",true); 转载于:https://www.cnblogs.com/xlizi/p/9381440.html