On Fri, Sep 11, 2009 at 8:32 AM, vsnu <rsvishnuvar...@gmail.com> wrote: > I need to sort <li> tags by their class names > Please help me !
I found this: http://www.mail-archive.com/disc...@jquery.com/msg05470.html but the linked bug report says that solution no longer works. Offhand I'd guess you could use the same approach: Use the sort() method of the array class and pass in the Jquery elements (gotten via get()) As this seems a common and simple need, I'd guess someone has written a plugin for it, have you tried this? http://plugins.jquery.com/project/sort -- Brett Ritter / SwiftOne swift...@swiftone.org