[jQuery] Reverse a collection of jQuery elements.
[jQuery] Reverse a collection of jQuery elements.
I need to reverse the collection jQuery returns when I use
$("#some_selector").parents("li");
in order to build a path.
Is this doable? It'd be nice if jQuery had a reverse() method.
Topic Participants
simshaun
brandon_aaron
mjlawson