Posted 08 May 2012 - 10:04 PM (#21)
jr wdR comedian under ThatRailsGuy
Posted 08 May 2012 - 10:04 PM (#22)
That would be the "SIMPLIFIED QUESTION" I added, in bold, on the first line of the original post, then changed the thread title so everyone would know where to look, and would realize they didn't have to read the long convoluted original post.
But I already figured it out, not clean, but works. I just needed to use "parent('div')" and "prepend()", instead of the original "prev()" and "before()" functions.