Sortable with helper clone
I can't seem to get the helper to clone the sortable item. I am new to
jquery and any help is greatly appreciated. My code is below.
$(function() {
$("#sortable1").sortable({
connectWith: '.connectedSortable',
helper: 'clone'
});
$("#sortable2").sortable({
receive: function(ev, ui) {
deleteImage(ui.item);
}
});
function deleteImage($item) {
$item.removeClass().addClass("test1");
};
});