jquery - CSS for a class is not working in IE11 only -
I am adding a class error for the AP tag and CSS for that class
< Code> .error {border: 1 px solid # ff0000! Important; }
This error class is added to the element with Jquery is working fine in all other browsers but the class is not adding CSS but in IE11. I can see the class and its CSS in the developer tool (inspecting the text box) but still the limit is not coming.
I do not know what is wrong!
html: - jQuery: - P has a css & lt; P class = "custom-multi-select-items" id = "industry-item" & gt; & Lt; / P & gt; Jquery has been written in a button click
$ ('savebtn'). Click (function () {$ ('.custom-multi-select-item'). AddClass ('error');});
. Custom-multi-select-items {width: 100%; Margin-top: -29px; Background: white; Border: 1 px solid # E8E8E8; Min height: 30px; Padding: 5px; Padding-left: 14 pixels; }
try it ..
$ ( ('Select custom items'); $ ('# industry-items'). AddClass ('error');})
Comments
Post a Comment