After some searching I found that this is an issue related to **Cross domain calling**. I have gone through some of the questions posted here. And then I did the following changes in my code -
2. I have added following lines befor the return statements in the web-service - `HttpContext.Current.Response.AppendHeader("Access-Control-Allow-Origin", "*");
It is still working fine in firefox. but in IE8 (as per my knowledge, XDomainRequest will not work in lower versions of IE) it is showing error (**XDomainRequest.onerror**).
Am I missing something?