こんな風にヤフー天気予報にリクエストを出そうとしています
function parseXml(woeid)
{
$.ajax({
type: "GET",
url: "http://weather.yahooapis.com/forecastrss?w="+woeid,
dataType: "xml",
success: parse_wheather
});
}
次のエラーメッセージが表示されます
XMLHttpRequest cannot load http://weather.yahooapis.com/forecastrss?w=1937103. Origin http://XXXXXXXX.com is not allowed by Access-Control-Allow-Origin.
localhost からリクエストを作成できないことはわかっていますが、localhost を実行していません。この問題を解決するにはどうすればよいですか??