title: Pass Textbox value from view to Controller on button click without using form in ASP.NET MVC 4
body: <p>I have to pass the value entered in my text box to a controller class on click of  submit buttton. I do not want to use Form or I do not have a model class for this field. How it can be achieved?
  Below is the sample code for your reference</p>
  
  <pre><code>&lt;table style="width:100%;"&gt;
  &lt;tr&gt;
  &lt;td style="text-align:center;font-weight:bold;width:95%;"&gt;My header&lt;/td&gt;
  &lt;td&gt;
  &lt;select&gt;
  &lt;option value="Choose"&gt;Select&lt;/option&gt;
  &lt;option value="val1"&gt;val1&lt;/option&gt;
  &lt;option value="val2"&gt;val2&lt;/option&gt;
  &lt;option value="val3"&gt;val3&lt;/option&gt;
  &lt;/select&gt;
  &lt;/td&gt;
  
  &lt;td&gt;
  &lt;input type ="text" id="searchField" name="searchFieldText"&gt;
  &lt;/td&gt;
  &lt;td&gt;
  &lt;input type="submit" style="color:black;background-color:rgb(216, 214, 208)" value="Search" onclick="location.href='@Url.Action("ExecuteSearch", "MyController",new { &lt;!--I want to pass the textbox value as param here--&gt;})'" /&gt;
  &lt;/td&gt;
  &lt;td style="text-align:right;width:10%;"&gt;@Html.ActionLink("LOGOUT", "logout")&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt; 
  </code></pre>
  
  <p>Thanks in advance!!!     </p>