I\'m using JQuery to select some elements on a page and then move them around in the DOM. The problem I\'m having is I need to select all the elements in the reverse order t
You can do
jQuery.fn.reverse = function() { return this.pushStack(this.get().reverse(), arguments); };
followed by
$(selector).reverse().each(...)