I want get the value of the currently selected option in a select box.
This will only have 1 option, and it will have a set value.
Thanks.
| SitePoint Sponsor |





I want get the value of the currently selected option in a select box.
This will only have 1 option, and it will have a set value.
Thanks.





Can you work it out from this or do you want more detail?
Andy
From the English nation to a US location.
refToSelect.options[refToSelect.selectedIndex].value
Strictly speaking, one pre-selected 'option' is arguably no option at all...
::: certified wild guess :::
Bookmarks