I am trying to call a webservice with jQuery ajax. The code is like;
$.ajax({
async: false,
type: "POST",
crossDomain: true,
contentType: "application/json; charset=utf-8",
data: <Data in JSON format>,
url: <Url>, // in same domain
success: OnSuccess,
error: OnFailure
});
However when I run it in IE10 it is working. In IE9 it gives error. I have other pages as well on which I am using jQuery ajax, there it is working fine.
I am clueless now why this is happening.