Quantcast
Channel: Move element inside another (parent with same class) - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Taplar for Move element inside another (parent with same class)

$
0
0

//find the title and image relative to the item being iterated over$( ".item" ).each(function( index ) {    $('.title', this).prependTo($('.image', this));});

Viewing all articles
Browse latest Browse all 2

Trending Articles