0

Possible Duplicate:
jQuery Sortable - Select and Drag Multiple List Items

I need to drag and drop multiple <li> . Currently i can drag and drop single <li> . But i'm unable to select multiple <li> and drop

<ul id="draggable">
    <li class="lclass">1</li>
    <li class="lclass">2</li>
    <li class="lclass">3</li>
    <li class="lclass">4</li>
    <li class="lclass">5</li>
</ul>

<div class="droppable" >
    <p>Drop here</p>
</div>

JQUERY

   $(function() {
         $( ".lclass" ).draggable({ revert: true,scroll: false  });
         $( ".droppable" ).droppable({ drop: function( event, ui ) {}  });
    });

Please help me out.

Community
  • 1
  • 1
Akshay
  • 187
  • 1
  • 2
  • 14
  • This may help: http://stackoverflow.com/questions/793559/grouping-draggable-objects-with-jquery-ui-draggable – VisioN May 19 '12 at 10:56

2 Answers2

0

You can use jQuery UI multiple draggable plugin to do this.

hkutluay
  • 6,794
  • 2
  • 33
  • 53
0

This bellow link may helps you

https://github.com/someshwara/MultiDraggable

Hearaman
  • 8,466
  • 13
  • 41
  • 58