I\'m new to jQuery, and I\'m totally struggling with using jQuery UI\'s sortable
.
I\'m trying to put together a page to facilitate grouping and ordering of
Can you include the syntax you used for connectWith
? Did you place the list of other groups inside brackets(even if it's a selector)? That is:
...sortable({connectWith:['.group'], ... }
This should work:
$('#groupsList').sortable();
$('.itemsList').sortable({
connectWith: $('.itemsList')
});
$(function() {
$( "#groupItems1, #groupItems2, #groupItems3" ).sortable({
connectWith: ".itemsList"
}).disableSelection();
});
This will go all fine for you! doing the same here for me. NO change required in your HTML.