title: MVC: what code gets called when you click the "submit" button?
body: <p>MVC newbie question; I'm learning by playing around rather than Reading The Manual... :)</p>
  
  <p>I see when I create an "Edit" view that the auto-generated view includes a "submit" button:</p>
  
  <pre><code>&lt;input type="submit" value="Save" /&gt;
  </code></pre>
  
  <p>But what code gets called behind the scenes to do this save?  Specifically, the model underlying this view has its own fancy save logic in code that I would want to call.  How do I get the view to invoke my code instead of whatever standard code is being called invisibly behind the scenes?</p>