title: How to send multiple variable using xmlhttp.open?
body: <p>Ok i have this piece of code from which i took from <a href="http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_database" rel="nofollow">W3schools</a>:-</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
  function showCustomer(str)
  {
  var xmlhttp;    
  if (str=="")
    {
    document.getElementById("txtHint").innerHTML="";
    return;
    }
  if (window.XMLHttpRequest)
    {// code for IE7+, Firefox, Chrome, Opera, Safari
    xmlhttp=new XMLHttpRequest();
    }
  else
    {// code for IE6, IE5
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  xmlhttp.onreadystatechange=function()
    {
    if (xmlhttp.readyState==4 &amp;&amp; xmlhttp.status==200)
      {
      document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
      }
    }
  xmlhttp.open("GET","getcustomer.asp?q="+str,true);
  xmlhttp.send();
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;form action=""&gt; 
  &lt;select name="customers" onchange="showCustomer(this.value)"&gt;
  &lt;option value=""&gt;Select a customer:&lt;/option&gt;
  &lt;option value="ALFKI"&gt;Alfreds Futterkiste&lt;/option&gt;
  &lt;option value="NORTS "&gt;North/South&lt;/option&gt;
  &lt;option value="WOLZA"&gt;Wolski Zajazd&lt;/option&gt;
  &lt;/select&gt;
  &lt;/form&gt;
  &lt;br /&gt;
  &lt;div id="txtHint"&gt;Customer info will be listed here...&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Now i made a form and i am passing two variables, so how i will pass the value of two variables in this <code>xmlhttp.open("GET","getcustomer.asp?q="+str,true);</code>. As this thing has not been included.</p>