jQuery sortable receive events -


i have li list jquery sortable attached it. receive function never executed. when drag list item 10 2nd position way expect code execute execute receive function. never gets executed. doing wrong?

// same our playlist.     $(".admin-left").sortable({         opacity: '0.5',         tolerance: "intersect",         handle: ".handle",         appendto: 'appenttoholder',         items: "li.admin-song",         update: function(event, ui) {             $(ui.item).css("opacity", "0.0").animate({ opacity: "1.0" }, "medium");             if ($.browser.msie && $.browser.version == "7.0") {                 $(ui.item).css("margin-bottom", "-6px");             }         },         receive: function(event, ui) {             addtoleftlist(ui.item);         },         start: function(event, ui) {             $(".admin-left li.ui-selected").removeclass("ui-selected");             isdraggingsong = true;             //soundmanager.stopall();             //$(".btn-stop").removeclass("btn-stop");         },         stop: function(event, ui) {             checkleftlist();          },         connectwith: '.sidebar-drop-box ul'     }).selectable({ filter: 'li.admin-song', cancel: '.head *,.btn-stop,.btn-play,.notes,.btn-del,span.remove' }); // added .head * fix bug# 1013 

i'm assuming update, start, stop , connectwith functions working properly. addtoleftlist function like?


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -