title: JQuery and SVG - how to find the 'g' tag
body: <p>Imagine this:</p>
  
  <pre><code>&lt;svg&gt;
      &lt;g id="node1" class="node"&gt;&lt;/g&gt;
      &lt;g id="node2" class="node"&gt;&lt;/g&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>How can I find the 'g' tag, I want that all tags could be clicked, and not just 'node1' or 'node2'. I've tried simular to this, but could not get it work.</p>
  
  <pre><code>$('g').click(function(){
      alert("Hellooooo");
  });
  </code></pre>