Append after filter

Append after filter

Hi all,

i would like to remove the acb.gif, than append another html "<p>111</p><p>222</p>" to "id2"
anyone know how to do it? many thank

<script language="javascript" src="jquery.js"></script>

<div id="id1">
  <p>111</p>
  <img src="images/abc.gif">
  <p>222</p>
</div>

<div id="id2"></div>

<script language="javascript">
  $(function() {
    $("#id1").not(img[src=images/abc.gif]).appendTo("#id2"); //remove the abc.gif than append to "id2"
  })
</script>