Possible Duplicate:
XML parsing in jquery doesn't seem to work for me
Access-Control-Allow-Origin error sending a jQuery Post to Google API's
I'm trying to load data from Google's weather API. When I run this code:
$.ajax({
type: "GET",
url: "http://www.google.com/ig/api?weather=13210",
dataType: "xml",
success: function(xml) { }
});
I get the following message: XMLHttpRequest
cannot load http://www.google.com/ig/api?weather=13210. Origin null is not allowed by Access-Control-Allow-Origin.
Why am I getting this message? I am new to loading XML into jquery.