May 21, 2015

[Fixed Solution] : Remove IE's “Clear Button X” From Inputs

This Article Will Give You A Solution To Remove The Internet Explorer's Clear Button "X" On Inputs.

First Will Have A Look On The Issue.
Following HTML Code Lines Will Create A Simple Text Field On The Browser.

<html>
<body>
<input type="text" id="myInput">
</body>
</html>

First Have A Look On The Browsers Like Google Chrome Or Mozilla Firefox.
Type Some Thing In The Text Field.

But Check The Same thing In The Internet Explorer.You Will See The Following Output.
Sometimes This Clear Button Will Annoying You If Your Input Field Has Auto Complete Events.
You Can Add The Follwing CSS Styles To Get Rid Of The Clear Button In The Input Fields In The Internet Explorer.

#myInput::-ms-clear {
    display: none;
}

No comments:

JWT Token Decode Using Jquery

When it come to authentication we use many mechanism. Ones the user authenticated we must keep these details somewhere safe. So we can share...