title: JavaScript - run function on <input> change - NO JQUERY
body: <p>I want to run a function when a HTML <code>&lt;input/&gt;</code> tag changes. How do I do this? There are some answers for this but they are all in jQuery and I want plain javascript. Can someone give me a simple example? Thanks!</p>
  
  <p>I want the input to be a type as text:</p>
  
  <pre><code>&lt;input type="text" id="change"&gt;
  </code></pre>