I’m connecting to a sortable item :
$(function() {
$('.page').sortable({
connectWith: ".connect",
items: ".myItems"
})
How do I connect to multiple items? something like :
$(function() {
$('.page').sortable({
connectWith: ".connect",
items: [".myItems"] , [".myItems1"]
})
As the doc of sortable specifies the
itemsoptions takes a valid jQuery selector. So you can use it likeWorking Fiddle
In the fiddle you will find that You can only sort elements which have class of
fixedandme.