Web Method Return Ok But Fire Fail Function
here is my web method [HttpGet] public ActionResult EditEmp(int? id) { if (id == null) { return new HttpStatusCodeResult(Htt
Solution 1:
Please check that you are returning valid json or not, because you are setting
dataType: "json"
it evaluates the response as JSON and returns a JavaScript object. (...) The JSON data is parsed in a strict manner; any malformed JSON is rejected and a parse error is thrown.
You may want to see this
Post a Comment for "Web Method Return Ok But Fire Fail Function"