Sending form using Ajax with 2 submit buttons sends value of both buttons. Is there a way to prevent it?

前端 未结 0 794
有刺的猬
有刺的猬 2021-01-29 09:21

So, I have a form which uses Ajax to send data. It collects all data using .serialize(), and sends it to a PHP script. It works perfectly, apart from the moment when I use 2 dif

相关标签:
回答
  • 消灭零回复
提交回复
热议问题