Little help need with jquery sortable.
I have a nested list like so:
- root
Actually , i don't have the same diposition of list as you , i saw inside an li you can have ul and li !
> - Academic
>
> - Staff
> - Courses
>
>
i only got :
- stuff ...
- stuff ...
- stuff ...
- stuff ...
- stuff ...
in my jquery function i've got this in start :
start: function(event,ui)
{
$(this).find('li').next().not('ul').after('
');
$(this).sortable('refresh');
}
So i manage your version to work with my list^^ , but i get i also get a droppable zone after my current element i'm dragging, so i can placemy li as children but since the parent is the element which i'm dragging, it's not possible i'd like to remove the
For the update on sort i tried and failed using serialize don't know how to get the question and it's children and order it correctly i don't know where my