pulling text from one list and duplicating it into another
Hey guys, I've been working for 13 hours now and am half retarded. This should be easy I think...
I've got an order list, each list item with the class .tumblr_title in it. I need to take the text() from each .tumblr_title and mirror it in another list ("#feature>ol>li").
This is what I have but it's not working. Any ideas?
- $("#feature>ol>li").each(function(index) {
- $(this).text(function() {
- $(".tumblr_title").eq(index).text();
- });
- });