title: How to add custom function to call after document.getElementById?
body: <p>I'm just curious, how can I call a custom function after document.getElementById()? Something like this:</p>
  
  <pre><code>document.getElementById("element").mycustomfunction();
  </code></pre>