title: JavaScript - Submit Form - To a specific method on a controller
body: <p>I've got an MVC 4 app. I have the following JavaScript function that fires whenever a change is made to an element with an Id of 'file'. The submit works fine. However, I would like to submit to a specific action method on the current controller and not the method that is defined in the HTML.BeginForm definition. I'm fairly new to all this and am not sure how to go about doing this.</p>
  
  <p>How can I change this code to submit to a named action method on my controller?</p>
  
  <pre><code>$(function () {
      $("#file").change(function () {
          $("form").submit();
      });
  });
  </code></pre>