title: Pull variable from a URL and set it as value of textbox
body: <p>I have the following URL: <code>http://localhost:8888/datatest?username=JD042719</code>
  I want to pull in the <code>"JD042719"</code>. 
  This problem does not require a 'Get' request. 
  Then the username value should be set to the value of another text box. Perhaps something like this:</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;label for="Assoc"&gt;Associate ID&lt;/label&gt;
  &lt;input type="text" name="AssocID" id="AssocID" required="required"&gt;
  </code></pre>
  
  <p><strong>JavaScript</strong></p>
  
  <pre><code>$(function associd(){
  document.getElementById("AssocID").value=username;
  });
  </code></pre>