Send multiple checkbox data to PHP via jQuery ajax()

后端 未结 6 1097
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 08:31

I want to submit a POST form that contains a textarea field and an input field(s) (type=\"checkbox\" with an arbitrary/variable number of checkboxes) on my website via jQuer

6条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 09:21

    Check this out.

    
    

    And on myurl.php you can use print_r($_POST['myCheckboxes']);

提交回复
热议问题