title: AJAX Uncaught reference error
body: <p>Script.js:</p>
  
  <pre><code>var request = new XMLHttprequest(); 
  
  request.open('GET','data.txt',false);   
  
  if(request.status===200) {   
      console.log(request);   
      document.writeln(request.responseText);
  }
  </code></pre>
  
  <p>This is my javascript file. I am getting this error:</p>
  
  <blockquote>
    <p>Uncaught reference error:XMLHttprequest is not defined</p>
  </blockquote>
  
  <p>Please help.</p>
  
  <p>Sincere thanks.</p>