make changes to html before append with jquery
<p>I m calling a page using ajax and making changes to it using jquery</p>

<p>but the changes are not reflected after appending(append) it to a div</p>

<p>as the changes are done to the html but the html var remains the same.</p>

<p>how do i make the changes to the html var and then append to the DOM</p>

<p>if i use the code directly to the DOM then there will be changes in the previous elements in the DOM</p>

<p>the code</p>

<pre><code>$.ajax({
type: "POST",
url: 'more_images.jsp',
data: ({uid:uid, aid:aid, imgid:imgid}) ,
cache: false,
success: function(html)
{

    html = $.trim(html);
    $(html).filter('.corner-all').corner('5px');

    $(html).filter('ol.c_album &gt; li .img_c').corner('3px');
    $(html).filter("ol.c_album &gt; li ").find('a').attr('target', '_blank');
    $('#images_list').append(html);

}
});
</code></pre>

<p>thanks</p>

<p>Pradyut</p>
