title: Form Submit using Jquery and mvc
body: <p>Am trying to submit a form using jQuery. My code below</p>
  
  <pre><code>&lt;form id="sampleForm" action="@Url.Action("submitSearch","Home")"&gt;
      //Form Fields  textbox
      &lt;button id="test" type="submit" &gt;&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Inside <code>document.ready</code> having script</p>
  
  <pre><code>$("#sampleForm").submit(function () {
      console.log("Success");
  });
  </code></pre>
  
  <p>But when click sumbit nothing is happening.</p>
  
  <p>I tried the below code to see if I have mapped correctly and that works fine</p>
  
  <pre><code>$(document).on("click", "#search-button", function () {
      console.log("Success");
  });
  </code></pre>
  
  <p>What am missing while submitting form ?</p>