Help guys with stupidity in js. JSON in return_arr variable
return_arr = jQuery.parseJSON( ret );
I write in the console js return_arr, I get in response:
Object chart_map: Array[7] current_month: 10 text_month: "Октябре" value: "4geo-Сургут" __proto__: Object
And I think about a miracle, all that I need to successfully enclosed and placed for me in the object. Next, I write return_arr.chart_map
and get:
return_arr.chart_map undefined
=> as so, how can I get an array out of an object?
return_arr
is a string! - timka_s