I have a simple 2 fields external json url.
it has 2 fields: identifier and description
Here is the code I'm trying to use to get the description from it:
jQuery("#get_json").click(function(event){
jQuery.getJSON('http://ec.europa.eu/research/participants/portal/data/call/topics/einfra-11-2016.json?callback=?', function(jd) {
alert(jd.description);
});
});
But it gives me an error in the browser console: SyntaxError: Unexpected token ':'. Parse error.
Can someone please give me a hint what I'm doing wrong? Thank you