title: Add class on svg path element
body: <p>In my project I have an SVG world map with different paths with different id's and one class of <code>map-path</code>. For each country click I want to add class on each path. My HTML is like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;svg viewBox=""&gt;
      &lt;path id="map_1" class="map-path" ......&gt;
      &lt;path id="map_2" class="map-path" ......&gt;
      &lt;path id="map_3" class="map-path" ......&gt;
      &lt;path id="map_4" class="map-path" ......&gt;
      &lt;!-- more &lt;path /&gt; elements... --&gt;
  &lt;/svg&gt;
  </code></pre>