我如何更改颜色文本的脚本? [英] How I do a script for change color text ?
本文介绍了我如何更改颜色文本的脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我不知道该怎么做,我对jquery一无所知,只是基础知识。在视图中,我显示了查询的结果,我需要红色字段的文本,询问另一个字段的值。
有人可以帮助我,我需要jquery中的逻辑
thnks
我尝试过:
查询
Hello guys , I have no idea how to do it, I do not know anything about jquery, just the basics. In a view I show the results of a query and I need to red the text of a field asking for the value of another field.
someone could help me please ,i need that logic in jquery
thnks
What I have tried:
Query
SELECT code , date , info , rule1 , rule2 ,rule 3 FROM Movies
这是我需要的逻辑
This is the logic that I need
if rule1 = 'fail' {
code text red
}
if rule2 = 'fail' {
date text red
}
if rule3 = 'fail' {
info text red
}
推荐答案
jquery color text - Google搜索 [ ^ ]
这篇关于我如何更改颜色文本的脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文