I pass from php to js object. For example :
{"3199":{"name":"Ramona RONDEREGGER","mail":"mona.schlaepfer@bluewin.ch","phone":null,"hope":null
,"status":"NEW LEAD"},"3253":{"name":"Olivia
BAUMANN","mail":"oliviazurfluh@gmail.com","phone":null,"hope"
:null,"status":"NEW LEAD"}}
And I want to get data from this object in js (get 3199, 3253 and their data (name,mail ...). How can I do it? I try it:
$(data).each(function(key,value){
$(value).each(function(key,value){
console.log(value);
});
});
But id doesn't work Please, help me to solve this problem Thanks