Get the coordinates of a drop event in Javascript?

I created a javascript library that allows me to drag a marker from dragzone into one or more dropzones.

The problem is that the mouseup event happens on the marker that I am dragging, there is no te dropzone.

How can I determine in which zone the marker was shot and in what coordinates?

Here is my script:

http://dl.dropbox.com/u/186012/demos/dragger/drag.html

+3
source share
2 answers

- , ... jQuery , .

jQuery .

+1

, , javascript, JQuery.

0

Source: https://habr.com/ru/post/1743277/


All Articles