The jQuery UI has a function called droppable, which can be applied to
any jQuery object $("#id").Droppable. (documentation@
http://docs.jquery.com/UI/Droppables).

This returns through the drop parameter the object which was dropped
on, as in:
    drop: function(ev, ui) {
                $(this).append("<br>Dropped!");
        }

This will allow you to access the element the item was dropped onto.
Within this same function you could also use the jQuery mouse
positioning http://docs.jquery.com/Tutorials:Mouse_Position to return
the exact co-ordinates.

Note:The above is not tested by myself.

HTH
M


On Oct 25, 6:13 pm, mark <[EMAIL PROTECTED]> wrote:
> hi all
> i want to be able to drag elements and drop it, and then store the
> location where it was dropped, so that i can make the drag drop
> persistent.
>
> i saw the jquery ui draggable library, but how do i get the dropped location?
> thanks!

Reply via email to