{"id":7882,"date":"2015-11-04T21:59:10","date_gmt":"2015-11-04T21:59:10","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/04\/jquery-sortable-and-droppable-open-source-projects-rubaxa-sortable\/"},"modified":"2015-11-04T21:59:10","modified_gmt":"2015-11-04T21:59:10","slug":"jquery-sortable-and-droppable-open-source-projects-rubaxa-sortable","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/04\/jquery-sortable-and-droppable-open-source-projects-rubaxa-sortable\/","title":{"rendered":"jQuery Sortable and Droppable-open source projects RubaXa\/Sortable"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a13180632594c1d3647ab0d20aee7f41?s=128&amp;d=identicon&amp;r=PG\" \/> <strong>Steven Hunt<\/strong><\/p>\n<p>If you can allow your other droppable areas to be sortable as well, you can use the connectWith option with a common selector:<\/p>\n<pre><code>\n\n\n<\/code><\/pre>\n<p>your jQuery code would then be:<\/p>\n<pre><code>$('.droppable-area').sortable({ connectWith: '.droppable-area' });\n<\/code><\/pre>\n<p>This solution worked beautifully for me anyways.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steven Hunt If you can allow your other droppable areas to be sortable as well, you can use the connectWith option with a common selector: your jQuery code would then be: $(&#8216;.droppable-area&#8217;).sortable({ connectWith: &#8216;.droppable-area&#8217; }); This solution worked beautifully for me anyways.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7882","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7882"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7882\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}