css設(shè)置input的樣式 html中輸入框為只讀狀態(tài)如何設(shè)置?
html中輸入框為只讀狀態(tài)如何設(shè)置?有兩種方法可以禁用文本框輸入:將輸入設(shè)置為只讀狀態(tài),代碼如下:<input readonly=“readonly”value=“test1”/>2。設(shè)置輸入
html中輸入框為只讀狀態(tài)如何設(shè)置?
有兩種方法可以禁用文本框輸入:將輸入設(shè)置為只讀狀態(tài),代碼如下:<input readonly=“readonly”value=“test1”/>2。設(shè)置輸入為不使用狀態(tài),代碼如下:<input disabled=“disabled”value=“test2”/>