title: @Html Action syntax to pass value of hidden input with id
body: <p>From my view(.cshtml) in the call below:</p>
  
  <pre><code>@Html.Action("MyActionName", "MyController", new { id = 1 })
  </code></pre>
  
  <p>id = 1 is currently hardcoded to 1 but I need to set id = the value of a hidden input:</p>
  
  <pre><code>&lt;input type="hidden" id="MyId" /&gt;
  
  //I've tested that "MyId" does have the correct value with:
      $(function () {
          $("#myButton").click(function () {
              var vid = $("#MyId").val()
              alert(vid);...
  </code></pre>
  
  <p>I can't seem to get the correct syntax for the <code>@Html.Action</code> call.</p>
  
  <p>Thanks</p>