[jQuery] simple: how to dynamically set dropdown's selected menu item

[jQuery] simple: how to dynamically set dropdown's selected menu item


i can't seem to find example for:
simple html dropdown
<select id="myDD">
<option value="hi">hi</option>
<option value="hello">hello</option>
</select>
jquery code needed to
set *selected item* to "hello".... based on knowing the value of "hello"
--
View this message in context: http://www.nabble.com/simple%3A-how-to-dynamically-set-dropdown%27s-selected-menu-item-tp18185695s27240p18185695.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.