Selecting multiple items with jQuery Sortable ()?

I need to drag multiple items at once into a jquery sort container. In this case, this is a series of nested divs in the parent div, which has sortable () behavior. Any suggestions?

+4
source share
1 answer

If you ask if you can select multiple elements (e.g. 1, 3 and 7 in one instance and 3.4 and 8 in another), I don't believe jquery has a way to do this at the moment, since the event is tagged in onclick .

On the other hand, if you want certain elements to be grouped (1 and 2 are always together), just merge them into a div.

+2
source

All Articles