While calling MVC webservice from my html page it was always going to error; please help me
$.ajax({ type: "GET", url: url, contentType: "application/json; charset=utf-8", crossDomain: true, dataType: "json", success: function (msg) { alert(Response.ErrorMessage ) }, error: function (e, status) { alert(e + " Fail " + status) } });
dataType : "jsonp"? which error message you get?crossDomain: true,orcontentType: "application/json; charset=utf-8",