title: Setting the value (selected option) of a dijit.form.Select widget
body: <p>I have a dijit.form.Select widget. It's tied to a data store, if that matters. It's filled with several options already. All I want to do is programmatically set its value. I can get its value using <code>myWidget.attr('value')</code> but if I try to do <code>myWidget.attr('value', 5)</code> for example (where 5 is one of the valid values), all it does is reset the widget to select the very first option, no matter what value I give it.</p>
  
  <p>This seems to be a bug, and there aren't any tests or documentation which show how to accomplish what I want to. But is there some way, even if it's a dirty hack?</p>
  
  <p>I'm using Dojo 1.4.0. Note that dijit.form.Select is the new name for dojox.form.DropDownSelect.</p>
  
  <p>edit: I even tried resetting the widget with all new options, but it ignores the option which has <code>selected = true</code> and just selects the first option. There must still be a way though.</p>