droppable get structure as array
Hey :)
ich hab some problems with droppable plugin from jquery-Ui.
I try to sort my ul list.. but sometimes it fails.
http://jsfiddle.net/23AvA/1/
There is always a ID mutlipled.
And if my structure so and i would like move id 2 into id 1:
- "[{"id":13,"children":[{"id":2}]},{"id":1,"children":[{"id":5}]}]"
I get this :/
- "[{"id":13,"children":[{"id":2}]},{"id":1,"children":[{"id":5},{"id":2}]}]"
Have Somebody the solution for my problem?