jQuery AJAX/POST not sending data to PHP

前端 未结 7 1413
春和景丽
春和景丽 2020-12-29 03:54

So I have this problem for a while now, and I know there are countless questions on this topic, believe me I tried every solution possible but still does not work.

T

7条回答
  •  太阳男子
    2020-12-29 04:48

    I was having this same problem and the issue turned out to be one of my variables in the data object was undefined. For some reason that prevented the post data being sent. Setting the variable to something other than undefined fixed the problem.

提交回复
热议问题