Hello all,

I'm a beginner with UI and I would like to know how to detect name,
class or id the dropped element with the droppable feature. So the
question is really on how to access attributs of the dropped element?

In my example:
                                $("#draggableAreaMask").droppable({
                                        accept: ".ui-draggable",
                                        activeClass: 'droppable-
active',
                                        hoverClass: 'droppable-hover',
                                        drop: function(ev, ui) {
                                                $
("#draggableArea").prepend(); // In fact, in the prepend I
would like to put the div content of the dropped element

                                        }
                                });

Thank you,
Charlie

Reply via email to