Uses jQuery UI to create a tree-view structure whose nodes can be dragged and dropped. Does basic validation to ensure a parent node is not dropped on a child node. Removes empty UL elements.
Forked from Josh Einstein's Pen Drag and Drop Tree View.
A Pen by Lanorise Cainion on CodePen.