title: ASP.NET MVC SelectList: How do I set class name and other attributes?
body: <p>How can I set a select class and other attributes eg:events through the <code>SelectList</code> object?</p>
  
  <p>If this cannot be done, what are the best practices in populating a select input (dropdownlist) ie should I just loop through the items and render the <code>&lt;option&gt;</code> tags</p>
  
  <p>I guess events should be bound to the controls in jquery for instance, but I do need the class forto do this.</p>