var wcfServiceUrl = "http://dev3/DCLocalGateWay/LocalGateWay/RestGateWay.svc/GetMessage"; $.ajax({ url: wcfServiceUrl, type: "GET", contentType: "application/javascript; charset=utf-8", crossDomain: true, dataType: "jsonp", async: false, error: function (error) { alert("Menu failed!"); alert(error); }, success: function (response) { alert(response.GetMessageResult); } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)