title: Get id from html table when clicking an input inside the table
body: <p>How can you get the id of a table when you click an input element?<br>
  I don't need the rowId etc.<br>
  I've tried parentNode.id but I can't seem to get the id.<br>
  In the end I'd like to do something like this:</p>
  
  <pre class="lang-js prettyprint-override"><code>var tabelid = INPUT....parentNode.parentNode.id;
  var table = document.getElementById(tabelid);
  </code></pre>
  
  <p>Example:</p>
  
  <p><img src="https://i.stack.imgur.com/oyQAZ.png" alt="enter image description here"></p>