セルの左端の 10 ピクセルにマウスを置いたときに、テーブル セルの色を変更する必要があります。現在、私はこれを持っています:
$("#myTable table thead tr th:nth-child(3)").mouseover(function () {
$(this).css("background-color", "red");
});
$("#myTable table thead tr th:nth-child(3)").mouseout(function () {
$(this).css("background-color", "white");
});
これは、要素全体にカーソルを合わせた場合に機能しますが、一番左の 10 ピクセルにカーソルを合わせた場合にのみ発生する必要があります。