My select looks like this : <select multiple="" size="6" name="locations[]" id="locations"> <option value="paris">paris</option> <option value="london">london</option> <option value="madrid">madrid</option> </select>
I would like to have this in the textfield paris;london;madrid or even ;paris;london;madrid since it would be easier :) The goal is to have one variable with all the options of my SELECT so that I can pass the values to a php script... Maybe someone has a better idea...