getting error Origin file:// is not allowed by Access-Control-Allow-Origin.
There is Ajax call , here is the code of ajax
var req = $.ajax({
url: SOAPURL,
data: soapxml,
type: 'POST',
crossDomain: true,
DataType:'XML'
async: true,
headers: soaphdr,
contentType: 'text/xml; charset=UTF-8'
});
as searched in web , i have added
$.mobile.allowCrossDomainPages = true;
$.support.cors = true;
but this isnt helping , there are lot of unanswered questions on the same , adding one more in hope of getting answer
thanks in advance