JQuery dropdown list values to php array?
How can I pass all the values fro开发者_JS百科m one dropdown list to one PHP array?
Let's say that I have one dropdownlist name="country" and id="countries"
Options: val="Japan" Japan val="USA" USA val="UK" UKHow can I parse the values to one PHP array?
The content is generated dynamically from another dropdownlist by chained method.
Cheers!
I would recommend serializing all the values using JSON and decoding the JSON on the server.
精彩评论