如何在javascript中更改表格中特定行的颜色
foreach($this->paginator as $record)
{
echo "<td width='61'> <a href='#' class='test' data-id='" . $record['id']. "'>". $record['id'] . "</td>";
echo "<td width='61'>". $record['firstname'] . "</td>";
}