PDA

View Full Version : Reverse Parent Until



Deadweight
10-07-2014, 07:51 PM
I am trying to get all the parent text values until the main area. You can view my code here:
http://jsfiddle.net/rLyeaz48/.

The problem is the 'parentsUntil()' code. I dont know how to reverse it to it appends the text to the end instead of the beginning.