title: ASP.NET MVC Form: Can submit with ENTER key but not Submit button
body: <p>I'm trying to implement a simple search form in ASP.NET MVC. Right now my cshtml looks like this</p>
  
  <pre><code>@using (Html.BeginForm("SearchDemo", "Home", FormMethod.Post))
  {
      &lt;div&gt;
          Last Name:&lt;br&gt;
          &lt;input type="text" id="nameToFind" name="nameToFind"&gt;
  
          &lt;input type="button" id="submitId" name="submit" value="submit" /&gt;
  
      &lt;/div&gt;
  }
  </code></pre>
  
  <p>And my controller looks like this</p>
  
  <pre><code>[HttpPost]
  public ActionResult SearchDemo(string nameToFind)
  {
      return RedirectToAction("Register", "Account"); //Only redirecting for now to test
  }
  </code></pre>
  
  <p>Pressing the submit button does not call the controller but pressing ENTER does. I'm guessing that means my click event is getting eaten by JavaScript or something so I tried to pause script execution in Chrome but realized browserlink.js is stuck in an infinite loop. Is that the problem? Either way, how can I stop the infinite loop?</p>