I am trying to use some ajax and the jQuery Masonry plugin to add some items - but for some reason the new items aren\'t getting the masonry applied ?
I\'m using
success: function (response) { if(response.length > 0) { var el = js(response); setTimeout(function () { js("#masonry").append(el).masonry( 'appended', el).masonry('layout'); }, 500); } }
works fine for me.