添加readonly属性,与disabled属性不同的是 readonly再form表单提交时是可以提交该字段的,但是disabled不会提交该字段
设置input框不可编辑
猜你喜欢
转载自blog.csdn.net/qq_34589867/article/details/86219496
今日推荐
周排行