title: Ajax Doesn't work in Chrome,Firefox, & Opera
body: <p>below is my function on main page.this code works fine in IE, please check where i am doing mistake</p>
  
  <p>i just want to pass values to ajax page as you can see my link above.</p>
  
  <pre><code>  function showUser2(str2)
    {
  
    if (str2=="")
      {
      document.getElementById("txtHint").innerHTML="";
      return;
      } 
   if (window.XMLHttpRequest)
      {
      xmlhttp=new XMLHttpRequest();
      }
    else
      {
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    xmlhttp.onreadystatechange=function()
      {
      if (xmlhttp.readyState==4 &amp;&amp; xmlhttp.status==200)
        {
        document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
        }
      }
  
   var drdownValue = document.getElementsByName('shorting').item(0).value;
   var buttonValue1 = document.getElementsByName('buttonpassvalue1').item(0).value;
  
       var value = parseInt(document.getElementById('count').value, 10);
       value = isNaN(value) ? 0 : value;
       value++;
       document.getElementById('count').value = value;
  
  var val123 = document.getElementById('count').value.trim();    
  var gotnumber = document.getElementById('getpagevalue').value.trim();    
  
       if(val123 &gt; gotnumber){
          buttonpassvalue1.setAttribute("disabled","disabled");
          buttonpassvalue.removeAttribute("disabled");
  
       }    else{
          buttonpassvalue.removeAttribute("disabled");
          buttonpassvalue1.removeAttribute("disabled");
       }
  
   alert(drdownValue);// to check click and value
   alert(buttonValue1);// to check click and value
  
   xmlhttp.open("GET", "productlistajax.php?q=" + drdownValue + "&amp;version1=" + buttonValue1, true);
  
   xmlhttp.send();
    }
  </code></pre>
  
  <p>button html code</p>
  
  <pre><code>&lt;button class="button" type="button" name="buttonpassvalue1" value="1" onclick="showUser2(this.value)"&gt;Next &gt;&gt; &lt;/button&gt;
  </code></pre>
  
  <p>this code works fine in IE, please check where i am doing mistake</p>
  
  <p>i just want to pass values to ajax page as you can see my link above.</p>
  
  <p>thanks</p>