Hi all,
I have a HTML multiple select (ListBox) control:
[HTML]<select id="mySelect" multiple>
<option>Apple </option>
<option>Orang e</option>
<option>Pineapp le</option>
<option>Banan a</option>
</select>[/HTML]
I'm looking for a way to select / unselect a few items in this list using javascript....
Search Result
Collapse
2 results in 0.0043 seconds.
Keywords
Members
Tags
-
Select/Unselect items in multiple select using javascript
-
How to unselect a text of an input box
I've an input box
<input type = "text" name = "MyInput" value = "">
and a selection
<select name = "MySelectio n" size = "1">
<option value = "1">Entry 1
<option value = "2">Entry 2
</select>
With
document.MyForm .MyInput.focus( );
document.MyForm .MyInput.select ();
I can...