<script type="text/javascript">
$(function() {
$("#sortable1, #sortable2").sortable({
- connectWith: ['.connectedSortable']
+ connectWith: '.connectedSortable'
}).disableSelection();
});
</script>
<div class="demo-description">
<p>
- Sort items from one list into another and vice versa, by passing an array into
+ Sort items from one list into another and vice versa, by passing a selector into
the <code>connectWith</code> option. The simplest way to do this is to
group all related lists with a CSS class, and then pass that class into the
- sortable function using array notation (i.e., <code>connectWith: ['.myclass']</code>).
+ sortable function (i.e., <code>connectWith: '.myclass'</code>).
</p>
</div><!-- End demo-description -->