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 -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -