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.
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.