try:
myDraggable.droppables.include(newDiv)
NicoSalto:
> Hi everybody,
> i have a problem with a drag and drop application. I creat a drag and
> drop like that:
> var myDraggable = new Drag.Move($(element), {options...});
>
> And after i create some new div, and i want to insert this new div in
> the "drag" as droppable div!
> And i don't know how to do that, because there are no fonctions for
> that. It exist this one to add a draggable div only:
> var myDraggable = $(element).makeDraggable({options...});
>
> Do you know a way to do that? Should i need to recreate a new drag ? I
> tried, but its impossible, that make some code error ...