2010-04-18 96 views

回答

2

像這樣:

$(document.elementFromPoint(x, y)) 
0

只要你知道確切的座標相對於文檔:

function getElsAt(top, left){return $("body").find("*").filter(function(){return $(this).offset().top == top && $(this).offset().left == left})} 

對方回答停在第一個覆蓋。

相關問題