title: Get element from which onclick function is called
body: <p>I have a button with a onclick attribute which is pointing to the function <code>test()</code>.</p>
  
  <pre><code>&lt;button onclick="test()"&gt;Button 1&lt;/button&gt;
  &lt;button onclick="test()"&gt;Button 2&lt;/button&gt;
  &lt;button onclick="test()"&gt;Button 3&lt;/button&gt;
  </code></pre>
  
  <p>Function test():</p>
  
  <pre><code>function test()
  {
      var button_name = this.html;
      console.log("Im button "+ button_name);
  }
  </code></pre>
  
  <p>How can I get informations about the clicked button?
  e.g. How can i read the html?</p>
  
  <p><strong>jsfiddle</strong>: <a href="https://jsfiddle.net/c2sc9j9e/" rel="noreferrer">https://jsfiddle.net/c2sc9j9e/</a></p>