0
In a requisicao ajax it returns me the following:
{
"og:locale":"pt_BR",
"og:type":"article",
"og:title":"Um titulo qualquer",
"og:url":"http:\/\/www.umsite.com.br\/uma-url\/"
}
My requisica:
$.ajax({
type: "GET",
url: '../pegaurl.php',
data : { "url" : url},
dataType: 'json',
success: function (e) {
console.info(e[0]);
...
How do I read each element separately in javascript afterwards?
Thiago, could be more specific and post your ajax request ?
– RickPariz
I edited the question!
– Thiago
Thank you, I will reply
– RickPariz
Actually that ain’t a array as the title says, it is an object.
– Renan Gomes