title: jQuery "Object doesn't support this property or method" in Internet Explorer
body: <p>I am using jQuery to add some dynamic content to a website.</p>
  
  <p>I am attempting to create a new DOM element on-demand using the following code:</p>
  
  <pre><code>container = $('&lt;div id="myContainer"&gt;&lt;/div&gt;');
  </code></pre>
  
  <p>This works perfectly in Firefox and Safari, but Internet Explorer is generating an error.  The IE error is: <code>Object doesn't support this property or method</code></p>
  
  <p>I know that jQuery is loading properly, and have tried both the <code>jQuery</code> and <code>$</code> syntax.</p>
  
  <p>Any ideas as to what might be causing this?</p>