This is a hidden input I have...
<input name="input_name[]" type="hidden"/>
I would like to add values to this input as soon as I "onchange" a multiple select options like:
<select id="inputSelect" multiple>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
The place where put the javascript o even if is a function, is irrelevant to me.
I would accept an answer for javascript solution but if someone give a jquery solution I would take as important information and I would really thank that.
Thank you very much.