title: xmlhttp request and querystring parameters
body: <p>I want to create a bookmark where it will send a parameter from the querystring such as author=John smith which would then be inserted into my rails app, is what I have so far correct? Providing I find out how to get the URL parameters</p>
  
  <pre><code>function updateData(param) {
    var myurl = 'http://localhost:3000/app/book';
  
    http.open("GET", myurl + "?author=" + value-of-querystring-param, true);
    http.onreadystatechange = useHttpResponse;
    http.send(null);
  
  }
  </code></pre>