Give the select tag an ID. You can then reference the element by its ID.
select name=aname[] id=aname
javascript
alert(aname.value);
/javascript
-Jason Garber
IonZoft.com
At 01:25 PM 10/2/2001 +0200, Sebastian wrote:
Hi all
If i use multiple select fields in a from
i use name[] to
Sebastian: if I remember correctly if you use a multiple selection field on
a page when you submit the form the contents of the selected items on the
field are sent via a comma delimited string, so you would just have to do
$Array=split(,, $String) to retrieve all of the selected values of the
2 matches
Mail list logo