title: textarea onchange not firing within php script
body: <p>I have a php page with a form that has a textarea input object. The onchange isn't firing and I can't work out why - it should be so simple! I read through many similar questions online, and I tried adding onkey, onblur, and addEventListener (as per the example below), none of which worked.</p>
  
  <p>But then I discovered that my code works fine in a html page but not in a php page. Is there something about php that makes this event fire differently?</p>
  
  <p>Thanks!</p>
  
  <pre><code>&lt;textarea name="Address" ID="Address" onChange="alert('You just changed the textarea.')"&gt;xxx&lt;/textarea&gt;
  &lt;/form&gt;
  
  &lt;script type="text/javascript"&gt;
  Address.addEventListener('input', () =&gt; {
      console.log("You just changed the textarea.");
  }, false);
  
  &lt;/script&gt;
  </code></pre>