Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 06:46 AM
okay, i tried this one of the demo instances and it works perfectly:-
<html>
<select id="approvers" onchange="test()" style="width:200px">
<option value='' > -- None -- </option>
<option value='a' selected="selected"> A </option>
<option value='b'> B </option>
</select>
</html>
(I just used the code from one of the posts above)
If you need the selected value to be dynamic, I would say probably write a function onload of the page and then use dom to set the default value for the choicelist.
Regards,
Hari