Preface - I'm a coding newbie, and I really tried to find an answer to this question.
I'm using jQuery to make an AJAX request, and my response is a stack of arrays. While assigning the data I need to variables in a for loop, all of them work fine except for this one:
var x = response[i].pets.media.photos.8.val;
I'm getting an "unrecognized number" error about the "8" in the array path, but that is the name of the directory the photo is in. Am I missing some formatting? What am I doing wrong?
Thanks in advance for the help.