readonly
disabled
相同点:都是禁止输入
不同点:readonly属性会把该input提交到form表单
disabled属性不会把该input提交到form表单
原标题:input只读属性区别
关键词: