jQuery.Drop.compile  function     

Gets all elements that are droppable and adds them to a list.

This should be called if and when new drops are added to the page during the motion of a single drag.

This is called by default when a drag motion starts.

Use

After adding an element or drop, call compile.

$("#midpoint").bind("dropover",function(){ // when a drop hovers over midpoint, // make drop a drop. $("#drop").bind("dropover", function(){

    });
    $.Drop.compile();
});
$.Drop.compile(event, drag) -> undefined
{}
{}
{undefined}
© Jupiter IT - JavaScriptMVC Training and Support