Possible Duplicate:
Cross-Domain Requests with jQuery
$(function () {
(function getFeed() {
$
.get('http://feeds.bbci.co.uk/news/world/rss.xml')
.done(function (feed) {
console.info('\Feed received: ', feed);
displayProgrammes(feed);
})
.fail(function () {
console.info('\nError getting the feed.');
})
}());
});
It's a simple Ajax request, nothing more. And yet I get the error message:
Origin null is not allowed by Access-Control-Allow-Origin.