When i get an json_encoded array with ajax json, i'm output the elements like the usual array
element[0]
$.ajax({
url: 'url.php',
data: "",
dataType: 'json',
success: function(element)
{
$('#content').html(element[0]);
}
});
I get the infro from encoded json thtat is in the url, but it only outputs [object Object]