Skip to content Skip to sidebar Skip to footer

Element.style.color Not Working In Ie

In a small web application I'm setting some text in a text box and its color using JavaScript. In the following snipped, el is my object. This code produces the correct effects un

Solution 1:

In IE, you can't change the text color of a disabled text box

Solution 2:

Use JQUERY

$('#el').css("color", "blue");

This code should solve your problem.

Post a Comment for "Element.style.color Not Working In Ie"