title: OnChange .attachEvent Listener Not Working
body: <p>I am trying to fire off an <code>AJAX</code> <code>GET</code> request when a text field changes, but I am having trouble getting the <code>OnChange Listener</code> to work, if anyone could shed some light onto why its not working I would much appreciate it.</p>
  
  <pre><code>document.getElementById('address1').attachEvent("OnChange", loadXMLDoc);
  function loadXMLDoc()
  {
      var xmlhttp;
      if (window.XMLHttpRequest)
      {
          xmlhttp=new XMLHttpRequest();
      }
      else
      {
          xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
      xmlhttp.open("GET","http://myurl.co.uk/AddressFinder/UpdateControler.php",true);
      xmlhttp.send();
  }
  </code></pre>