Textarea placeholder not disappearing on focus/typing in IE10
net mvc web application in which I have multiple textarea
and input
fields. Now the placeholder is working great in all browsers (chrome, firefox) but in Internet Explorer 10
, the placeholder text doesn't disappear on focus or on typing in the text area.
<textarea placeholder="Write Query..." maxlength="1000"></textarea>
A colleague of mine told me that this is due to a bug in jquery having version < 1.8.3 ? is this true? is there any workaround for it ? I am just adding some pages to existing application so I am not allowed to change/update the jquery library.
PS I am using Jquery 1.11.1 (I know its way old)
链接地址: http://www.djcxy.com/p/70542.html上一篇: 输入文字焦点,如Facebook输入