I am trying to create two listboxes, one containing a list of email addresses and the other an empty box that i will pass those addresses to. I then want to send those addresses to the next page to be used in a mail script. how do i get the addresses on the second page. i use js to pass from one box to the other. will that affect my posting on the form?
Depending on how JS handles this type of thing (I cannot be certain without first testing it), I would assume only the selected items will be passed to the server. So, you may need to modify your JS to also generate a value for a hidden field in your form on the fly.
So, when a new address is added to the empty selectbox, also add that address to a <input type="hidden"> element on the page. You will have to rewrite the contents of the hidden field each time a new address is added or removed.
There is definately a more elegant way of solving this problem, but it's past midnight and this the best I can come up with!