title: How to create JQuery wrapper on existing svg-object?
body: <p>In similar topic I've asked if that is possible at all (http://stackoverflow.com/questions/6006364/svg-through-the-jquery-svg), but when I tried to implement that:</p>
  
  <pre><code>&lt;body onload="alert('loaded');testSvg();"&gt;
  &lt;div id="div3" style="border: solid 1px black; width:200px; height:100px"&gt;
      &lt;svg id="svg3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;&lt;/svg&gt;
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
  function testSvg() {
      var svgRootElement = $("#svg3").get();
      var svgWrapper = new $.svg._wrapperClass(svgRootElement);
      svgWrapper.circle(30, 25, 50, { fill: 'red' });
  }
  </code></pre>
  
  <p>I've got an error:</p>
  
  <blockquote>
    <p>'TypeError: Unable to get value of the property 'createElementNS': object is null or undefined' error...</p>
  </blockquote>
  
  <p>Why? How to fix that?</p>
  
  <p>Thanks!</p>