Post request failed from View to Controller.DDevara6yAsked Aug 22, 2020, 5:19 AM827AJAXCan anyone help me with how to call controller from Jquery via Ajax? Thanks in Advance.
Jay Krishna Reddy6y agoPosted Aug 22, 2020, 5:23 AMAccepted answerBelow is the Code for your question.$.ajax({ type: "GET", contentType: "application/json; charset=utf-8", url: "/Controller/Method", success: function (data) { successCallback(data); }, error: function (data) { failureCallback(data); } });
Jay Krishna ReddyPosted Aug 22, 2020, 5:23 AM