Getting DIV id based on x & y position

后端 未结 9 856
渐次进展
渐次进展 2020-12-06 11:52

The problem I\'m trying to solve is \"What\'s at this position?\"

It\'s fairly trivial to get the x/y position (offset) of a DIV, but what about the reverse? How do

9条回答
  •  天涯浪人
    2020-12-06 12:47

    Use a JQuery selector to filter the list of all DIVs for one that matches your position criteria?

提交回复
热议问题