What is the 1 parameter below when disabling a draggable, is it the number of seconds to wait until the draggable is disabled ?
$("#drop-target").droppable({
drop: function(event, ui) {
ui.draggable.draggable("disable", 1);
});
I seen this in answer by Boblet at question : How do I disable a jquery-ui draggable?
If this constructor is not valid why does it work ?