title: JQuery remove div not working in Internet Explorer
body: <p>I'm not really a javascript/jquery coder, I have a very simple code to remove a div that's not working in IE</p>
  
  <p>I'm using this in a Joomla page, so I call it like this:</p>
  
  <pre><code>$document-&gt;addScript("http://code.jquery.com/jquery-latest.js");//adiciona jquery
  </code></pre>
  
  <p>And than, in the body document:</p>
  
  <pre><code>&lt;script&gt;
      setTimeout(function() {
          $("#yourDiv").remove();
      }, 50000);
  &lt;/script&gt;
  </code></pre>
  
  <p>FireFox and Chrome are (as always) ok. Can someone point out my mistake please? Thanks a lot :)</p>
  
  <p>EDITED <strong><em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>**</strong></p>
  
  <p>I've tryied also with this code no jquery, but always not working in IE (9)</p>
  
  <pre><code>&lt;script&gt;
  setTimeout('yourFunction();', 5000);
  function yourFunction(){
  var div = document.getElementById("yourDiv");
  div.parentNode.removeChild(div);
  }
  &lt;/script&gt;
  </code></pre>