css设置input的样式 html中输入框为只读状态如何设置?
html中输入框为只读状态如何设置?有两种方法可以禁用文本框输入:将输入设置为只读状态,代码如下:<input readonly=“readonly”value=“test1”/>2。设置输入
html中输入框为只读状态如何设置?
有两种方法可以禁用文本框输入:将输入设置为只读状态,代码如下:<input readonly=“readonly”value=“test1”/>2。设置输入为不使用状态,代码如下:<input disabled=“disabled”value=“test2”/>