$.getJSON(service + "/GetJobTags",
{ tag: "a" },
function(json) {
$.each(json, function(i,val) {
alert(val.Title);
});
});
It calls:
http://127.0.0.1:20087/ClientService.svc/GetJobTags?tag=a
This is probably of note, the service is running on a different port to the client application, which is on:
http://127.0.0.1:32017/index.htm
Firefox says HTTP 200 OK but the response data is null (and it highlights in red in Firebug). In IE it works fine, and the server is returning json.
Is this a permissions problem? Do I need to use JSONP?