jQuery UI Droppable: Detect which draggables are dropped on an element?

Posted by Rosarch on Stack Overflow See other posts from Stack Overflow or by Rosarch
Published on 2010-05-03T23:50:20Z Indexed on 2010/05/03 23:58 UTC
Read the original article Hit count: 197

Filed under:
|
|

I have the jQuery UI framework's draggable and droppable elements working. I would like to programmatically determine which draggable elements are currently dropped on which droppable elements. Is there an easy way to do this?

I thought of using event listeners to detect drop and out events, then keep a dictionary or something in memory to keep track, but this seems contrived.

Better ideas?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui