[SOLVED] Uncaught SyntaxError: Unexpected token
Posted: Sat Jan 10, 2015 4:49 pm
Hi All,
I was wondering if someone could help me with this.
I have this JQuery code
When this is run, in my chrome console i get " Uncaught SyntaxError: Unexpected token"
See Image in Spoiler
Thanks in Advanced
BillyAB
I was wondering if someone could help me with this.
I have this JQuery code
Code: Select all
$.getJSON("http://webservice.fanart.tv/v3/movies/" + movieID + "?api_key=4e6175137822b938951bee8a411a251d&callback=?", function (json) {
console.log(json);
var thumbURL = json[0].moviethumb[0].url;
where_to_show_poster_selector.append('<img src="' + thumbURL + '" title="' + data.results[0].title + '" />');
})
See Image in Spoiler
BillyAB