I have a small problem, I have some static content inside a div and I need to add some extra content to it, prependTo works good, but the new content comes after the exisiting one. appendTo comes before the exisiting content, but each new appended content comes before the previous append.
Hard to explain, so I added a little example here: http://jsfiddle.net/9j958/
The foo# order is wrong, as you can see. Any way around this?