1

mouseenter/mouseleave イベントで、テーブルのセルの絶対「上」位置を取得したいと考えています。

これまでのところ、イベントは次のように添付されています。

$('td[someAttr]').mouseenter(function(mouse) {
   // how do we get the td's top absolute position?

   //FYI: mouse.pageX and mouse.pageY would give the mouse position
});
4

1 に答える 1

4
$(this).offset().top
于 2009-06-25T18:11:48.733 に答える