javascript - How to change li position using Jquery -


I want to create a function which is the first time the function is called the first one on the top The last example would be the last one so that

   

thanks

  $ ('li: before ') .appendTo (' ul ');  

Example of work (click anywhere):


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

objective c - iPhone and it's wireless area -