jquery ページにリンクされた html ページがありますが、動作しません。jquery を使用して、セル値が 3000 未満のセルを探しています。セルを埋める必要がありますが、現在は機能しません。
これがhtmlコードです
 $(document).ready(function () {
    rr();
})</script>
</head>
<body>
<table class="colorMe">
<tr><td>2000</td><td>3500</td></tr>
<tr><td>3000</td><td>2500</td></tr>
<tr><td>4000</td><td>4500</td></tr>
</table>
</body>
</html>
and here is the jquery code which is on a seperate page
// JavaScript Document
$("#d td").each(function rr() {
  var thisCell = $(this);
  var cellValue = parseInt(thisCell.text());
  if (!isNaN(cellValue) && (cellValue <=3000)) {
     thisCell.css("background-color","#FF0000");
  }
});