Do you have a question? Post it now! No Registration Necessary. Now with pictures!
February 15, 2004, 10:43 am
rate this thread
^^ I've finally downloaded the script I needed to move those little
items about my 4 columns..
But now I've stumbled across a slight problem.
I can't actually figure out what's IN each list, without requireing
that each list has it's items selected before the user clicks Send.
Does anyone know how I can access the results from this page, or of
any other alternative?
Re: Getting Everything from a
You have got two alternatives:
that on submit you can pass these items to the target script by setting
some hidden fields in the form.
2. You can gather the items inside of selects by using it's "options"
var strItems = '';
for(intI = 0; intI < objSelect.options.length; intI++)
strItems += objSelect.options[intI].value; // or ___.text;
if(intI < objSelect.options.length - 1)
strItems += ',';
Now you have got a comma separated list of all items in the list and
pass them to the script with a hidden field.
Hope this helps,