归档 2014年10月11日

HTML表单input字段disabled属性与readonly属性的区别

HTML表单输入字段包含两个比较相似的属性:disabled="disabled"以及readonly="readonly",它们之间的区别如下:

a readonly element is just not editable, but gets sent when the according form submits. a disabled element isn't editable and isn't sent on submit. another difference is that readonly elements can be focused (and ...

继续阅读

昨天

明天

归档