title: jQuery under SVG
body: <p>Is there any way I can run jQuery under SVG instead of HTML?</p>
  
  <p>I know about <a href="http://plugins.jquery.com/project/svg" rel="nofollow noreferrer">jQuery svg plugin</a> but this is not what I want. </p>
  
  <p>As for now the jQuery engine contains some statements like this:</p>
  
  <pre><code>div = document.createElement("div");
  div.style.display = "none"; 
  </code></pre>
  
  <p>It fails with exception during jQuery initialization under SVG because SVG document is unable to create <code>div</code> element. And there are some other HTML-specific places in jQuery which fail in unpredictable places under SVG. </p>
  
  <p>Is there any way to resolve this problem?</p>