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.
<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:
Post a Comment