ui.sortable to certain position
I've been stumped on this -
I have two lists. One is empty (A), the other one isn't (B). I can drag from A to B, but the items goto the top of the list. If I want it in position 3, I have to drag two elements first, then the 3rd.
Is there a way to drag it to position 3?
To the left of A there is a numbered list, so the exact position is known. And then the regular sorting.
What I've done for now is placed 4 empty <li> in A, then when B is dragged over, it can be dropped in the right spot. I'm trying to figure out how to remove the empty <li>'s as B is dragged in.
Is there an easier way?