我有 div:
<div class="sortable container">
<div class="line">
content
</div>
<div class="line">
content
</div>
</div>
<div class="sortable container">
<div class="line">
content
</div>
<div class="line">
content
</div>
<div class="line">
content
</div>
<div class="line">
content
</div>
</div>
<div class="sortable container">
<div class="line">
content
</div>
<div class="line">
content
</div>
<div class="line">
content
</div>
<div class="line">
content
</div>
</div>
和js:
$(function() {
$(".sortable").sortable();
$(".sortable").disableSelection();
});
这项工作很好 - 我可以拖放“线” div,但我想在“容器” div 之间拖动这个 div。怎么做?