Form not submitting with AJAX

后端 未结 6 1635
执笔经年
执笔经年 2021-01-17 00:29

=====UPDATE AGAIN==== (if anyone cares!) the solution I posted before stopped working for whatever reason. I included a beforeSend in my ajax request and pasted the portion

6条回答
  •  [愿得一人]
    2021-01-17 01:13

    Change done to success:

    success:  function(data){
    

    success only fires after your request got response and the response code is OK(http 200).

提交回复
热议问题