How do I drag and drop multiple divs using jquery UI? Is there any option to accept an array of divs?
This sounds perfect for your need: https://github.com/someshwara/MultiDraggable
Usage: $(".className").multiDraggable({ group: $(.className)});
Drags the group of elements together. Group can also be an array specifying individual elements.
Like: $("#drag1").multiDraggable({ group: [$("#drag1"),$("#drag2") ]});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With