POST array empty on jQuery AJAX call

后端 未结 2 1436
孤城傲影
孤城傲影 2021-01-22 10:18

I hesitate to ask, as there are numerous other posts on this topic (one and two for example), but none of the solutions in those posts seem to apply to me.

I am trying t

2条回答
  •  佛祖请我去吃肉
    2021-01-22 10:57

    Try this May be it will work for you

     $.ajax({
    type: 'POST',
    url:"controller.php?a=update-player",
    data: data_json=JSON.stringify(playerinfo),
    success: function (data){
    },
    }); 
    

提交回复
热议问题