I want to select multiple option items in a listbox with the following html code:
Code: Select all
<select myattri='cool' name="listbox" id="SelectSimple" size="4" multiple>
<option value="1">item 1</option>
<option value="2" >item 2</option>
<option value="4" selected>item 4</option>
<option value="0">All</option>
<option value="3" selected> item 3 sdfasfdasdf asdf asd fasfdasd asd </option>
</select>
And the "Selected" attribute of all optionTag is always True for IE, always False for FF, I am not sure if this is a bug.
Pls advise and provide a sample if possible.
thanks a lot