Send select's values in array

后端 未结 4 933
旧巷少年郎
旧巷少年郎 2021-01-26 13:10

I have such select list in html:

123
4条回答
  •  轮回少年
    2021-01-26 13:47

    123

    You'll get only checked inputs anyways.

    You can get forms serialized data with

    $('form_selector_here').serialize();
    

    which is the same format used for POST and GET ( and not-checked ones won't be in there )

提交回复
热议问题