Jquery serialize() is empty

后端 未结 2 1512
离开以前
离开以前 2021-01-25 20:31

I\'ve a contact form that sends data to a PHP script via AJAX. It\'s pretty basic but I can\'t get input values with serialize. The form id is correct, i obtain the input name b

2条回答
  •  情深已故
    2021-01-25 21:01

    Use serialize() method when form is submit.
    
    check this fiddle https://jsfiddle.net/6o6htoh1/1/
    

提交回复
热议问题