When running the code
$.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) {
// Do some stuff here....
});
I get the error
Failed to load resource
Am I accessing this wrong?
|
|
I suspect your problem (as I commented) is XSS related. Try using JSONP instead of raw JSON; we just added support for the |
|||||||
|
|
As Kevin says, XSS. Try this instead:
|
|||
|
|