May I ask for help with the jquery ajax syntax needed to consume the NWS forecast data at the following url?:
http://forecast.weather.gov/MapClick.php?lat=38.14000&lon=-78.45000&FcstType=digitalDWML
I've tried several possibilities and suspect an issue with my dataType spec. Specifying xml and json results in an "Access-Control-Allow-Origin" error. Specifying jsonp results in 'Unexpected token <' error that I haven't been able to track down. My jsonp attempt is given in the jsfiddle linked below. Any help will be appreciated.
http://jsfiddle.net/gbkester/hgt8bvb8/
$(document).ready(function() {
$.ajax({
type: "GET",
url: "http://forecast.weather.gov/MapClick.php?lat=38.14000&lon=-78.45000&FcstType=digitalDWML",
dataType: 'jsonp',
success: function (json) {
console.log(json)
}
})
})