L
lister
Hi all,
If have the following combo:
<select name="combo">
<option value="a">One</option>
<option value="b">Two</option>
<option value="c">Three</option>
</select>
How can I programmatically set the selected option, given that I know
the value of "value" (ie say "b")?
I know how to get hold of the combo etc in script, it's just the actual
setting of the value :-/
Many thanks,
Lister
If have the following combo:
<select name="combo">
<option value="a">One</option>
<option value="b">Two</option>
<option value="c">Three</option>
</select>
How can I programmatically set the selected option, given that I know
the value of "value" (ie say "b")?
I know how to get hold of the combo etc in script, it's just the actual
setting of the value :-/
Many thanks,
Lister