$(this).parent().remove(); not working in IE
<p>Any ideas why the code below wouldn't work in IE, yet in FF and Chrome it does:</p>

<pre><code>$(".remove", document.getElementById("ccusers")).live("click", 
  function () {
     $(this).parent().remove();
  });
</code></pre>

<p>If I try:</p>

<pre><code>alert($(this).parent().attr("id"));
</code></pre>

<p>I get the id alerted out in FF &amp; Chrome but not IE.</p>

<p>Any ideas what needs to be done differently?</p>
