I have an array that I can't access the data of.
$.get("url"), function(data) { console.log(data); } Console output:
Array( [0] => Array ( [element0] => 1 [element1] => value1 [element2] => value2 ) [1] => Array ( [element0] => 2 [element1] => value1 [element2] => value2 ) ) Now I'm trying to access the elements with data[0], data[0]["element0"] and what not, but I either get nothing or it returns the characters at that position instead of the data. How do I access the elements properly?
data[0][0]return?