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
Do like this.
var data = $.parseJSON("your_json"); var output= ""; for (i=0; i < data.payments.length; i++){ output += "" + data.payments[i].id + ", " + data.payments[i].child_id + ""; } output += "";