[Solved] JQuery Ajax , why in success i have error why? [closed]
Based on an excessively lengthy comment thread above, you claim to have this server-side code: public JsonResult StudentInfo(List<object> StudentData) { return Json(StudentData); } So, you’re returning a List<object> to your client-side code. Then in your client-side code you try to access a property on an element in that list: success: function (response) { alert(response[0].Name); } … Read more