D
D
Dominik092020-02-02 13:49:36
JavaScript
Dominik09, 2020-02-02 13:49:36

How to determine the element in the place of which another element was placed?

Hello. There are 2 elements, both can be moved in absolute position on the browser's client area. If I move the 2nd element and put the 1st element in place, how can I programmatically determine the 1st element, can anyone come across such a task?
I will add that there can be more than 2 elements. I just wrote it as an example to state the essence of the issue.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question