2

i have 2 lists, all items of them can be moved to the other list and inside its list, except the item with classname called "header" , but i want "header" can be moved inside its parent only. can someone help me? thank you so much. here is my code:

$("div.main-task-content").sortable({
    scroll: true,
    revert: true,
    helper: clHelper,
    delay: 200,
    connectWith: $('.main-task-content'),
    handle: '.drag-handler',
    update : function (event,ui) 
    {

    }
});
1
  • Can you create a fiddle?
    – timo
    Jan 21, 2014 at 11:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.