title: place value into input box from query string not working
body: <p>how can I take the value of a query string and place it into an input box? Currently I have:</p>
  
  <pre><code>&lt;input type="text" name="spouse" id="spouse"  value="&lt;script type="text/javascript"&gt;
          document.write("Name: " + Request.QueryString("spouse"));
  
      &lt;/script&gt;"/&gt;
  </code></pre>
  
  <p>But that only takes the script take and all of its contents and places it into the input box. </p>
  
  <p>I would like to be able to take my query string that is coming from this code:</p>
  
  <pre><code>&lt;tr &gt;
  &lt;td&gt;&lt;input type="text" name="n1" value="Duck, Donald"  /&gt;&lt;/td&gt;
   &lt;td&gt;&lt;input type="text" name="n2" value="Daisy"  /&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type="button"  value="Show" title="Show"  
             onclick="location.href='example123.html?name=' + escape(this.form.n1.value)+ '&amp;spouse=' + escape(this.form.n2.value);" /&gt;
  
  &lt;/td&gt;
  </code></pre>
  
  <p></p>
  
  <p>and have the value for name or spouse appear inside of an input box. What is the proper way to place a value into an input box from a query string?</p>