I need help with getting the selected data from my multiselect into my javascript datastring when the submit button is pressed.
So I have this select:
<select multiple class="form-control" name="DivisionSelect[]">
<option value="|TD">Traffic Division</option>
<option value="|CP">Metro - C Platoon</option>
<option value="|DP">Metro - D Platoon</option>
</select>
I want the selected data to be lined next to each other like this: "|TD|DP" if Traffic and D Platoon are selected. How can I do this?