title: How to handle selected-index change event of a drop down in MVC4 Razor
body: <p>I have the following control in my view page. How can I handle the selected change event in a very simple way?</p>
  
  <pre><code>@{
              List&lt;SelectListItem&gt; invoiceTypes= new List&lt;SelectListItem&gt;();
              invoiceTypes.Add(new SelectListItem
              {
                  Text = "--Select One--",
                  Value = "",
                  Selected = true
              });
              invoiceTypes.Add(new SelectListItem
              {
                  Text = "Form 8",
                  Value = "Form 8"
              });
              invoiceTypes.Add(new SelectListItem
              {
                  Text = "Form 8B",
                  Value = "Form 8B"
              });
              invoiceTypes.Add(new SelectListItem
              {
                  Text = "eBay",
                  Value = "eBay"
              });
              invoiceTypes.Add(new SelectListItem
              {
                  Text = "Snapdeal",
                  Value = "Snapdeal"
              });
              }
  
              @Html.DropDownListFor(model =&gt; model.InvoiceType, invoiceTypes, new { @class = "dropdownlist"})
  </code></pre>