Hello all,
I am trying to create a form where there will be two multi-select boxes, one listing users that have not been assigned a task, and the other listing those that are assigned. I would like the ability to select any user in any box, click on an arrow inbetween the boxes, and transfer that name to the opposite multi-select box (depending on which arrow the controller pressed, right or left). Ultimately, I want to be able to have a submit button that will send them to a processing page to update the changes to who is assigned, and who is not. (This may pose another problem, since no one will probably be selected, so how do I tell who is in what box), but regardless, at least for right now, does anyone know how I can get the value of whatever item in a multi-select is currently selected (or multiple values) so I can tranfer them over to the other box?
I tried something like:
to see if it would even grab the value, but errors are generated.
anyone know how to do this?
-Ovatvvon :-Q
I am trying to create a form where there will be two multi-select boxes, one listing users that have not been assigned a task, and the other listing those that are assigned. I would like the ability to select any user in any box, click on an arrow inbetween the boxes, and transfer that name to the opposite multi-select box (depending on which arrow the controller pressed, right or left). Ultimately, I want to be able to have a submit button that will send them to a processing page to update the changes to who is assigned, and who is not. (This may pose another problem, since no one will probably be selected, so how do I tell who is in what box), but regardless, at least for right now, does anyone know how I can get the value of whatever item in a multi-select is currently selected (or multiple values) so I can tranfer them over to the other box?
I tried something like:
Code:
alert(document.forms[0].multiselect1.selected.value);
anyone know how to do this?
-Ovatvvon :-Q