Jothe Rengarajan Jothe Rengarajan - 1 month ago 10
ASP.NET (C#) Question

CSS3 selectors are not working to hide the password reveal icon in IE 11

I am trying to hide the password reveal icon using CCS selector as shown below.

display: none;

My development environment:
.Net Framework: .Net 4.5.1,
Visual Studio 2010,
IIS 7.5

I use IE11, and when checked for compatibility in jsFiddle, it works and hides the password reveal icon.

Why it is not working in my website (local & host). Any ideas as solution is appreciated..

Thank you!!


IE 10 only supports hiding password reveal icon using CSS

input::-ms-clear, input::-ms-reveal {
 display: none;

For IE 11, I found solution here , using javascript. Hope this help others.