Hi I have a list:
<select name="SelectedChannel">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
I know that I call tell it to select a certain option with:
document.FormName.SelectedChannel.selectedIndex =1;
But, how can I have a script that selects every option, regardless of the number of options?
Cheers,
M@)
<select name="SelectedChannel">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
I know that I call tell it to select a certain option with:
document.FormName.SelectedChannel.selectedIndex =1;
But, how can I have a script that selects every option, regardless of the number of options?
Cheers,
M@)