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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -