I have a selectbox on a form – which I’ve turned in to a list box by putting
<select id="Select1" name="D1" size="5" style="width: 220px">
I’m filling this select/listbox with values…
When I post the form how can I get all the values in the select box..is this possible or am I only able to get one that has been selected.
Trouble is I want all the values in the select (I’m not selecting any as such)
Any ideas?
Before submitting the form you can use some JavaScript to pull the items out of the select and put them into a hidden text field (as a delimited string)
For example, you can get the values using
Hope that helps.