title: How Do I Update My Html Form Without Refreshing Page In ASP.net?
body: <p>I've tried to find solutions for quite some time now with no success so I've come to ask here.</p>
  
  <p>I have a ASP.net web application where I get information from a database and put that information in a form on a html page, which works fine. Also I have a search function, which works fine. </p>
  
  <p>But every time I search it reloads the entire page. I know that I should use JQuery...somehow...but I don't really understand how to apply it to my code.</p>
  
  <pre><code>&lt;div class="tab-content"&gt;
      &lt;div id="log" class="tab active"&gt;
          &lt;h1&gt;Log&lt;/h1&gt;
          @using (Html.BeginForm())
          {
              &lt;p&gt;
                  &lt;b&gt;Message:&lt;/b&gt; @Html.TextBox("SearchString")
                  &lt;input type="button" value="Search" onclick="submit()"/&gt;
              &lt;/p&gt;
          }
          @RenderBody()
          @Html.Raw(ViewBag.Data)
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>