开发者

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" UK

How 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜