阅读背景:

如何在下拉菜单中更改使用append()创建的元素的文本颜色?

来源:互联网 

I'm looking for something in JQuery that can change the color of the element based on the value. I have my drop down populated dynamically, before I append my value to drop down I have if statement that checks for the value, if value is equal to 1 I want to change the color of that element if not leave it as it is. Here is my code:I'm looking for something in JQuery that can ch




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: