title: Activating loading animation by Html.BeginForm submission
body: <p>I want to display loading animation when the user clicks on submit button. Simple gif will do the job. This is my code:</p>
  
  <pre><code>@using (Html.BeginForm("SData","Crawl"))
  {
      &lt;p&gt;
          Enter Starting URL:&lt;input class="txt" type="text" id="sUrl" name="sUrl" title="Enter Starting URL"/&gt;
      &lt;/p&gt;
  
      &lt;p&gt;
          Enter Number of Threads:&lt;input class="txt" type="text" id="Nbt" name="Nbt" title="Enter number of threads"/&gt;
      &lt;/p&gt;
  
      &lt;p&gt;
          &lt;input class="button" id="submit" type="submit" value="Submit" /&gt;
     &lt;/p&gt;   
  }
  </code></pre>