babelfish
07-17-2003, 02:49 PM
atm im using a few select boxes that are created dynamically for part of a corporate wan.
<select name="projectFileLocation">
<option value="" selected></option>
<option value="Boston">Boston</option>
<option value="Inverness">Inverness</option>
<option value="Lincoln">Lincoln</option>
<option value="Swinderby">Swinderby</option>
</select>
now, on some of these menus i want the user to be able to select multiple values so i added the 'multiple' in the tag - that allows me to select more than 1 - problem is i am using a javascript method to create a url from the selected options on the page - this then creates a search
basically i wanna know how to get the multiple values from the multiple select as form.element.value dont work - it just gets the 1st one
thanks!
(cant show the page as its hosted internally and contains sensitive info)
<select name="projectFileLocation">
<option value="" selected></option>
<option value="Boston">Boston</option>
<option value="Inverness">Inverness</option>
<option value="Lincoln">Lincoln</option>
<option value="Swinderby">Swinderby</option>
</select>
now, on some of these menus i want the user to be able to select multiple values so i added the 'multiple' in the tag - that allows me to select more than 1 - problem is i am using a javascript method to create a url from the selected options on the page - this then creates a search
basically i wanna know how to get the multiple values from the multiple select as form.element.value dont work - it just gets the 1st one
thanks!
(cant show the page as its hosted internally and contains sensitive info)