PDA

View Full Version : Extracting values from a multiple select field



vahagn
01-18-2005, 12:04 PM
Hi!

I want to use javascript to collect the values in a multiple select field. I
use

self.document.forms[i].elements[j].value

in order to traverse through the page and collect the selected values, but
is there a way to do this with a <select>-tag which allows "multiple" choices? I have read the HTML and the JS reference manuals, but can't find any info in regard to this.

Thanks,

/Vahagn