[jQuery] Re: droppable limit

2009-09-15 Thread Boris Trivic
Other solution is to add next code below "...drop: function(){..." $(this).droppable('disable'); logicaly, it will disable drop on element... If you want enable drop, again, add next code below "...out: function (event, ui) {..." $(this).droppable('disable'); Hope it helps... On Sep 8, 3:27

[jQuery] Re: droppable limit

2009-09-07 Thread Richard D. Worth
The accept option can take a function. That function gets called when a draggable starts being dragged and the draggable item is sent as the first argument to the function. So if your droppable already has an item, simply return false in that function, otherwise return true. The other option would