title: Passing more then one value with XMLHttpRequest?
body: <p>I want to pass more then one value in <code>GET</code> request with JS.</p>
  
  <p>However, the way I am currently trying it does not work.</p>
  
  <p>The function I am using for that is given below:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script type="text/javascript"&gt;
    function updatestatus(status, id){
      var xmlhttp=new XMLHttpRequest();
      xmlhttp.open("GET","adminfunction.php?status="+status"id="+id,false);
      xmlhttp.send(null);
    }
  &lt;/script&gt;   
  </code></pre>
  
  <p>thanks for the help.</p>