I need to figure out how to determine the value of the selected option in a dropdown select list. I am 99% clueless about javascript.
I've gotten this far:
document.myForm.mySelectName.selected.value
also tried:
document.myForm.mySelectName.option.value
AND
document.myForm.mySelectName.option.selected.value
but none of them seem to work.
I've gotten this far:
document.myForm.mySelectName.selected.value
also tried:
document.myForm.mySelectName.option.value
AND
document.myForm.mySelectName.option.selected.value
but none of them seem to work.
Comment