No 'Access-Control-Allow-Origin'

Hi

I’m trying to retrieve data from a URL on our domain. While testing I’m using the client/server on localhost. I’ve tried variations using dhx.jsonp, however I receive a function not defined error.

Are there any suggestions on how to retrieve the data from the below URL. Thanks in advance.

GetHotlabData = function(){

dhx.ajax().get("http://192.168.0.111:8080/data", function(text,xml){
    var URLData = dhx.DataDriver.json.toObject(text,xml);
    CalibratorData = URLData.data["0"].CalibratorData;
    BarcodeData = URLData.data["0"].BarcodeData;
});

};

Hi,

You need to use jsonp. But unfortunately, our library does not provide such a solution.