Below code does not seem to work when my asmx webservice is in a different domain. IS there anything I am missing?
function CallGreet() {
$.ajax({
type: "POST",
url: "http://test.me/TestWebService.asmx/HelloWorld",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess,
error: OnError
});
}
Thanks...