Skip to content Skip to sidebar Skip to footer

How To Move Lists

I have something like this:
  • 1
  • 2
  • 3
And I wonder if there is possibl

Solution 1:

You can use ajax sortable jquery plugin. One of my recommendation tutorial is Sortable Lists Using jQuery UI . Here user can re-order list using cursor pointer.


Solution 2:

This should do the trick for you.

var length = $('ul li').length;

while (length--) $('ul').append($('ul li')[length]);

Here is a working jsfiddle


Post a Comment for "How To Move Lists"