Re: JavaScript:Syntax!_NEWLINE_!How to get the values from a drop down list, which is populated by a vector
Posted By:
Arun_Bharathan
Posted On:
Wednesday, January 2, 2002 08:44 AM
For the option object in javascript, there is a value attribute and a text attribute. So in your case, option.index contains the loop index and option.text contains the vector value.
Use this to get to the text displayed in the Drop down.
window.document.formName.selectName.options[indx].text