title: Client side value in URL.Action parameter
body: <p>I am trying to post feedback on an object from a modal popup. No values on the popup are populated from server side.</p>
  
  <pre><code> &lt;div class="modal fade" id="msg-editor"&gt;
          &lt;div class="modal-header"&gt;
              &lt;a class="close" data-dismiss="modal"&gt;&amp;times;&lt;/a&gt;
              &lt;h3&gt;Title of the form&lt;/h3&gt;
          &lt;/div&gt;
          &lt;div class="modal-body"&gt;
              &lt;div class="row-fluid"&gt;
                  &lt;div class="controls span10"&gt;
                      &lt;label class="control-label" for="Title"&gt;Title and message&lt;/label&gt;
                      &lt;input type="text"
                          class="input-xlarge" id="Title" name="Title"
                          placeholder="Title of the message" /&gt;
                      &lt;textarea class="input-xlarge" id="Message"
                          name="Message" rows="5" cols="9"
                          placeholder="Message"&gt;&lt;/textarea&gt;
  
                      &lt;label class="checkbox"&gt;
                          &lt;input type="checkbox" value="option2" id="EmailSelf"&gt;
                          Send a copy of this message to yourself
                      &lt;/label&gt;
  
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="modal-footer"&gt;
              &lt;a href="#" class="btn" data-dismiss="modal"&gt;Close&lt;/a&gt;
              &lt;a id="Submit" class="btn btn-primary" href="@Url.Action("AddDocumentMessage", "Invoice", new { param1 =  $('#myFormSubmit').value, param2 = Model.Obj.Value1, param3 = Model.HashedValue })"&gt;Send&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>The part that doesnt work is </p>
  
  <blockquote>
    <p>param1 =  $('#myFormSubmit').value.</p>
  </blockquote>
  
  <p>How do I pass the client side value?</p>