<form method="post" action=""> <input type="text" name="xm1" value="123" readonly> <input type="submit" value="提交"> </form> 注:input如果使用disable来设置禁止修改会传值失败