How to remove an appended() image using jquery?
<p>In my web application I have around 10 headings with same class name, so when a user click on that a loading image will be appended to them and some data will be filled via ajax in a div then after this whole processing i just want to remove that loading image.</p>

<p>Here is my code:</p>

<pre><code>jQuery('.replyhead').live('click',function(){
    var idval=jQuery(this).attr('id');
    jQuery(this).append('&lt;img src="images/loading.gif"/&gt;');

    jQuery.post('abc.php',{rack:idval},function(data) {
        jQuery('#r'+idval).html(data);      
        //now here i just need to remove that loading.gif       
    });
});
</code></pre>

<p>Any recommendations on how to do this?</p>
