我在输入框中使用了“只读”属性,它在chrome浏览器中工作正常,但仅在IE中,光标隐藏器未隐藏。 单击IE中的输入框,如何隐藏光标闪烁器?
input#CC-prodDetails-quantity[readonly] {
background-color: #fff;
cursor: default;
}
<input class="customQuantityStyle cc-numericField form-control" id="CC-prodDetails-quantity" type="text" readonly="readonly" data-bind="textInput: itemQuantity">