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");
};
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---