I want to call the following web service
var url = 'search.php', data = { addressdetails: 1, format: 'json', osmtype: 'node', q: 'london' }; $.ajax('//open.mapquestapi.com/nominatim/v1/' + url, { type: 'GET', data: data, contentType: 'application/json', success: function (data, status) { var results = []; if (status === 'success' && !data.error) { console.log('success'); } }, error: function(jqXHR, textStatus, errorThrown ) { console.log('error'); } }); I created a JSFiddle with this example: http://jsfiddle.net/JX27m/1
I've been told that IE8+ supports Cross-Origin Resource Sharing (CORS), so there should be a way to tweak this code to make it work on IE9, right?
Cheers, Christophe