jeudi 14 mai 2015

How to sort a list alphabetically using YUI3

I am trying to add items to a list and want the items not to be added at the end but sorted alphabetically. I am using YUI3 and I have a sorting function but when I use it, it adds the items at the end of the list. However, when I refresh the list becomes sorted. Any chance that I sort the list without the need to refresh?

Thanks!




Aucun commentaire:

Enregistrer un commentaire