3
I created on my page one select multiple
and I need to take your values in PHP in vector form, so I added []
at the end of the name. Example:
<select id="selecionados[]" name="selecionados[]" size="20" multiple ">
<option value="A">A</option>
<option value="B">B</option>
</select>
So far so good, but I need to send the form before sending the element selecionados[]
with Jquery.
But not with $('#selecionados')
nor $('#selecionados[]')
work.
How can I get this element by jQuery?