title: MVC 4: Calling action method on dropdown list select change
body: <p>I have a dropdown list, and I want a specific action method to be called on changing selection. Here is my dropdown list:</p>
  <pre><code>@using (Html.BeginForm(null, null, FormMethod.Post, new { id = &quot;ediFilesForm&quot; }))
  {
      var directoriesSelectList = new SelectList(Model.Directories);
      @Html.DropDownListFor(m =&gt; m.SelectedDirectory, directoriesSelectList, new {@Id = &quot;Directories&quot;, @style = &quot;width:Auto;height=Auto;&quot;, @size = 10, onchange = &quot;$('#ediFilesForm').submit()&quot;, name=&quot;action:FolderChange&quot;})
  </code></pre>
  <p>And here is the action method:</p>
  <pre><code>    [HttpPost]
      [ActionName(&quot;FolderChange&quot;)]
      public ActionResult FolderChange(EdiFileModel ediFileModel)
      {
          //do your work here
          return View(&quot;Index&quot;, ediFileModel);
      }
  </code></pre>
  <p>For some reason, this method is never hit, but this one is hit instead:</p>
  <pre><code>    public ActionResult Index()
      {
          ...
          return View(ediFileModel);
      }
  </code></pre>
  <p>What can I try next?</p>