2017-06-05 61 views

回答

0

循环遍历表中的每个td,检查其内容,并根据需要应用css。

$('#your-table-id-here').find('td').each (function() { 
     if(this.text() === "February 21, 2017"){ 
     this.css('color','black'); 
    } 
}); 
相关问题