Select DIV with highest z-index

后端 未结 4 1549
遇见更好的自我
遇见更好的自我 2021-01-18 09:50

Example code so I can start explaining this problem:

5
2
4条回答
  •  天涯浪人
    2021-01-18 10:36

    In your place I would simply attach event onclick on each div. I think then Javascript or jQuery will automatically take into account zindex information and you will get event exactly on DIV where you clicked.

提交回复
热议问题