gwt - How to hide the caret in an HTML text input field? -
if have html input field one:
<input type="text" id="mytextfield"/>
all browsers seem show caret (insertion point) in field. is possible prevent appearing applying css or javascript?
(my reason asking input basis of gwt-ext combo box ones on http://www.gwt-ext.com/demo/#linkedcombobox - can't type in it, can still see caret, annoying).
what try disable input element , explicitly set color black:
<input type="text" disabled="disabled" style="color: black;" ... />
this should work gwt-ext combo box (at least did when setting attributes in firebug).
Comments
Post a Comment