title: Invoking particular action on dropdown list selection in MVC
body: <p>I have a dropdown list in an MVC view. On selection change of dropdown list I want to call specific action method in the controller.</p>
  
  <p>What I have done on view is this :</p>
  
  <pre><code>&lt;%=Html.DropDownList("ddl", ViewData["AvailableList"] as SelectList,
    new { onchange = "this.form.action='MyMethod';this.form.submit();" })%&gt;
  </code></pre>
  
  <p>Everything is getting compiled. But a runtime exception is thrown when I change the drop down selection, as </p>
  
  <blockquote>
    <p>"Microsift JScript Runtime Error : Object doesn't support property or method"</p>
  </blockquote>
  
  <p>How can I redirect to specific action on list selection change event?<br>
  How can I pass parameters to this action method?</p>