working with JSON data array from Ajax response?

后端 未结 5 1686
一个人的身影
一个人的身影 2020-12-21 21:26

Is it possible to work with a response from AJAX request in PHP? I am not really a JS dev so i am polling my hair out with this one.

I have sort of hacked this toget

5条回答
  •  太阳男子
    2020-12-21 21:45

    Use $.parseJSON() For Convert Json Format Data To Array

    Right code at sucess of ajax.. Like,

    var data = $.parseJSON(html);

    data in you get array format of responce

提交回复
热议问题