title: Show ajax tooltip from an SVG onclick event
body: <p>I have an SVG with this code for some shapes (its a map)</p>
  
  <pre><code>onclick="top.traeDatos(evt.target.id);"
  </code></pre>
  
  <p>in the html file I have:</p>
  
  <pre><code>function traeDatos(region){
      alert(region);
  }
  </code></pre>
  
  <p>So, I click on a region, I have the alert window with the region name and the variable in the html file. Thats great</p>
  
  <p>Now I want that the click on the map shows a popup with more information i'll get using ajax from multiple databases trough a file called, for example "getDetails.php".</p>
  
  <p>Im new in js and ajax, I know how to make a standard call in ajax to get some information given an id (or name in this case), I know how to change the value of a text field to the text I get trought the ajax call...but I dont understand how to call ajax and show a tooltip from that javascript code in the SVG or the one in html.</p>
  
  <p>Im not sure too of what tolltip to use, but one problem at the time ;)</p>
  
  <p>Can you enlighten me a little.</p>
  
  <p>Thanks!</p>