1
Hello, I am using the Last.fm api and I am having difficulty accessing the #text found inside the image array.
Data link -> JSON
I try to:
console.log(values.track[index].image[index].#text);
But it doesn’t work. How can I fix?
1
Hello, I am using the Last.fm api and I am having difficulty accessing the #text found inside the image array.
Data link -> JSON
I try to:
console.log(values.track[index].image[index].#text);
But it doesn’t work. How can I fix?
1
Just use values.track[index].image[index]['#text']
Browser other questions tagged javascript jquery ajax json
You are not signed in. Login or sign up in order to post.