title: How to pass hidden field value from one view to another in asp.net mvc
body: <p>I have parsed the json string and displayed it in the form of table and against each record I placed a "Edit" button. My code is :</p>
  
  <pre><code>for (var i = 0 ; i &lt; data.Homes.length ; i++) {
  results += "&lt;form&gt;&lt;tr&gt;&lt;td&gt;" + data.Homes[i].ID + "&lt;/td&gt;&lt;td&gt;" + data.Homes[i].Name + "&lt;/td&gt;";
   results += "&lt;td&gt;&lt;a href=\"#\" onclick=\"\"&gt;Edit&lt;/a&gt;&lt;/td&gt;";
   results += "&lt;input type=\"hidden\" value=\"" + data.Homes[i].ID + "\" /&gt;";
   results += "&lt;/tr&gt;&lt;/form&gt;";
       }  
  </code></pre>
  
  <p>I want the "Edit" Button to link to another view , and I am passing the id in a hidden field. Through id I can query database and get the paritcular record against this id. But I don't know how to access the value of the hidden field in the view.</p>
  
  <p>I need help in this. Thanks in advance </p>