title: How to append a querystring to the url created by Url.Action base on a hidden fields values
body: <p>Here is my controller Action method</p>
  
  <pre><code>public ActionResult ChangeStateId(int userId,int stateId)
   {
     return RedirectToAction("Index")    
   }
  </code></pre>
  
  <p>and in my anchor tag of View, i want to redirect to above action method with parameter values like this</p>
  
  <pre><code>&lt;a href="'@Url.Action("ChangeStateId","User")?userId='+$('#hidID').val()+ '&amp;stateId=' +$('#hidStateId'.val()")&gt;&lt;/a&gt;;
  </code></pre>
  
  <p>but it is not working for me.</p>