开发者

Get the position of a DOM element via x, y co-ordinates

Is there a way to select the top most DOM element at a certain x-y position with Javascript?

So give x and y, what DOM element is the开发者_运维问答re?


You can use document.getElementFromPoint.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜