title: jQuery .addClass() and SVG element
body: <p>I have difficulty with finding a problem with jQuerys <code>.addClass()</code> function on an <code>svg</code> element</p>
  
  <p>On <a href="http://multimel-nieruchomosci.pl/mieszkania/mieszkania?filter[nrbudynku]=9" rel="nofollow">this</a> site I have an svg object like this:</p>
  
  <pre><code>&lt;svg ... &gt;
  &lt;polygon  class="maska mieszkanie" id="I9M01" ... /&gt;
  &lt;polygon  class="maska mieszkanie" id="I9M02" ... /&gt;
  &lt;polygon  class="maska mieszkanie" id="I9M03" ... /&gt;
  ...
  </code></pre>
  
  <p>In code below I have:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      jQuery("#I9M01").addClass( "wolne" );
  &lt;/script&gt;
  </code></pre>
  
  <p>But I cannot force it to work. If I do <code>jQuery("#I9M01").remove()</code> it works, but I cannot add class and I don't know why. Is there any problem with svg elements?</p>