antosart
08-06-2003, 05:17 PM
Ello all,
Ok I've got a list/menu box that will have it's <option> tags populated dynamically via JSP from a database, allowing multiple selections.
I will also have a 2nd list/ menu box off to the right that is empty.
I want to click a button (preferably and image with the onClick="functionCall()") and then transfer the selected option information to the other list/ menu box and then remove the data from the first list/ menu box. (similar to DTP functionality...) basically transfering the data from one list to the other.
I'm pretty JS savvy but can't find any solid documentation on how to access the multiple values in a list/ menu box.
The best that I could find is the document.forms[0].elements[0].value
Can anyone help me out with this?
Much appreciated
-Antosart:)
Ok I've got a list/menu box that will have it's <option> tags populated dynamically via JSP from a database, allowing multiple selections.
I will also have a 2nd list/ menu box off to the right that is empty.
I want to click a button (preferably and image with the onClick="functionCall()") and then transfer the selected option information to the other list/ menu box and then remove the data from the first list/ menu box. (similar to DTP functionality...) basically transfering the data from one list to the other.
I'm pretty JS savvy but can't find any solid documentation on how to access the multiple values in a list/ menu box.
The best that I could find is the document.forms[0].elements[0].value
Can anyone help me out with this?
Much appreciated
-Antosart:)