title: ASP.net MVC DropDownList Pre-Selected item ignored
body: <p>I am facing a simular problem as outlined in the question <a href="https://stackoverflow.com/questions/589935/html-dropdownlist-in-asp-net-mvc-rc-refresh-not-pre-selecting-item">"Html.DropDownList in ASP.NET MVC RC (refresh) not pre-selecting item"</a></p>
  
  <p>I'm using ASP.net MVC 1.0 and need to associated a javascript call when the DropDownList is changed.</p>
  
  <pre><code>&lt;%=Html.DropDownList("SelectList", 
                      (SelectList)ViewData["SelectList"], 
                       new { onchange="javascript:selected_droplist();" } )%&gt;
  </code></pre>
  
  <p>This is all good except <em>it is ignoring my pre-selected item</em></p>
  
  <p>If I remove the extra functionality:</p>
  
  <pre><code>&lt;%=Html.DropDownList("SelectList")%&gt;
  </code></pre>
  
  <p>It is happy and will use my pre-selected item.  <em>BUT i don't get the Javascript action!</em></p>
  
  <p><strong>So, how do i add the javascript to the onchange event?</strong></p>