Does anyone know how to fix this error? I am using jquery 1.6.2
XMLHttpRequest cannot load http://www.reddit.com/.xml. Origin null is not allowed by Access-Control-Allow-Origin.
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://www.reddit.com/.xml",
dataType: "xml",
crossDomain: true,
success: xmlParser
});
// ...
});