Draggable in jquery with multiple elements

Asked

Viewed 40 times

0

I am developing an accordion that each item will receive a list of accordion. To dynamically sort the items of each accordion, I’m using jquery draggable. For the first accordion list jquery works perfectly. However, for the second list jquery draggable does not work.

  • 4

    Enter some code to help members understand the problem.

  • 1

    Post your code. You are using the accept in his Droppable ?

  • For each accordion node I add the code below: $(". sortable"). sortable({ revert: true, update: Function() {...} }); $("#draggable"). draggable({ connectToSortable: ". sortable", helper: "clone", revert: "invalid" });

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.