If I have a
<SELECT name="name" multiple>
in an HTML form, how can I get all the values the user selected in the form for the selection list. Right now, I'm only able to see the last item selected in the list.
Thanks......
<select multiple name="beer[]"> <option value="warthog">Warthog <option value="guinness">Guinness <option value="stuttgarter">Stuttgarter Schwabenbräu </select>
I know how a multiple select is supposed to work. But how do I get that effect on Netscape Navigator 4.0?
I would like to build upon the questions here: Once you've established a select with a name of whatever[], how do you access it in Javascript. I was using whatever.options[x] to get to each option.