var wrapvar = ui.helper.context.parentNode.parentNode.parentNode.className;
var hfour = $('.'+wrapvar).find('h4').text();
console.log(hfour);
$dragTabs.appendTo(this);
var modli = $(this).context;
modli.lastChild.className = wrapvar;
$("#list_c "+wrapvar).wrap("<div></div>");
}
}
});
My requirement : : I want to add entire outer li even i drag inner li .
as shown in screen shot when i dragged organization inner li , i want to add entire organization structure as in left side with only draggable li inside . Even i tried how harder i can , i cannot accomplish the task . Can someone help me please .