Send GET information with javascript
<p>Hi i am trying to send GET information to php site through javascript in an iRidium Mobile environment (<strong>not</strong> a web browser). 
I can't use JQuery due to the limitation of my development environment.</p>

<p>this is what I got.</p>

<pre><code>function AjaxRequest(url,method){
  var req = createXMLHTTPObject();
  req.onreadystatechange= function(){
        if(req.readyState != 4) return;
        if(req.status != 200) return;
        alert(req.responseText);
  }
  req.open(method,url,true);
  req.send(null);
}
</code></pre>

<p>I get the error </p>

<blockquote>
  <p>Script exception: ReferenceError: createXMLHTTPObject</p>
</blockquote>

<p>I am probably missing some library. but I don't know where to find it or an alternative.</p>
