【发布时间】:2009-06-25 18:10:01
【问题描述】:
在 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
});
【问题讨论】:
标签: javascript jquery mouseevent