Legend:

What we do is to simulate the 'selected' property using this attribute (which is not it's purpose).

4

4

5

A better approach would be to handle dropdowns using [http://api.jquery.com/select/ .select()] to trigger the event on the required element and [http://api.jquery.com/selected-selector/ :selected] selector to match the selected element as suggested in attachment:22693.5.diff.

5

A better approach would be to handle dropdowns using [http://api.jquery.com/select/ .select()] to trigger the event on the required element and [http://api.jquery.com/selected-selector/ :selected] selector to match the selected element as suggested in attachment:22693.5.diff. This way it's also possible to let the default value set to 'medium'.