js写以下代码 用JQ写是什么样的?



var x= document.getElementById('th_3');
if(document.getElementById('th_3').innerHTML.match("迟到")){
document.getElementById('th_3').style.color="blue";
}
var x = $('搏知#th_3');

if(x.html().match('迟轿悉到')){
x.css('color','blue'闭银乎);

}