nestedSortable
nestedSortable copied to clipboard
Save position
How can I save position after refresh?
By using a DB or Session:
$('.dd').nestable({
/* Config */
}).on('change', function(){
console.log($('.dd').nestable('serialize'));
/* AJAX */
});
Just adding here for people who might come through Google (as I did).
Uncaught TypeError: $(...).nestable is not a function
It gives me this error not working for me
Either you don't have nestedSortable or jQuery (probably this one).
Also, this plugin is abandoned. You should use this version.