i have some problems with jquery sortable:
This is my code:
$('.sortable-list').sortable({
helper: function (e, ui) { return $(ui.get(0)).clone().appendTo('body').css('zIndex', 5).show();},
connectWith: '.sortable-list',
placeholder: 'ui-state-highlight',
}).disableSelection();
i like to add a sourrounding div to the helper. But return '<div>'+$(ui.get(0)).clone().appendTo('body').css('zIndex', 5).show()+'</div>';
wont work.
Can somebody help please?
Thanks