I'm implementing drag and drop using the jQuery UI Draggable and Droppable widgets. (Sortable didn't provide quite enough flexibility for me.)
As I drag, I'm dynamically creating a drop placeholder element to show precisely where a drop would be placed.
But how can I make this drop placeholder droppable itself? If I create it and then immediately call the droppable()
method on it, this has no effect. And so if they user drops directly over a drop placeholder, how could I detect this?
You can see what I have so far at http://jsbin.com/uciviy/14.