ajax({ type:"GET", url:"/ib/show/"+$(this).attr('alt'), dataType:"html", success: function (data) { $(data).appendTo('#'+iv.floater); }, error: function (msg) { $('Error: ' + msg).appendTo('#'+iv.floater); }, complete: function (data) { var img = $('#'+iv.floater).find('img'); for(var i=0; i < img.length; i++) { $(img[i]).Reflection({height:0.2,opacity:0.5}); } //$('#'+iv.floater).find('.left').each( function(){$(this).remove();}); // works $('#'+iv.floater+'.left').remove(); // doesn't work ? $('#'+iv.floater).css('visibility','visible'); } });