title: XMLHttpRequest to open PDF in browser
body: <p>I want to do XMLHttpRequest and then open a PDF in the Browser by sending the filename by POST method.</p>
  
  <pre><code>   xmlhttp.open("POST","pdf.php",true); //CHANGE
     xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
     xmlhttp.send("file="+input);
  </code></pre>
  
  <p>Is that possible or XMLHttpRequest is just for HTML?</p>