MVC Send list through AJAX

前端 未结 5 594
情话喂你
情话喂你 2020-12-19 16:28

Okay, I\'ve seen tons of questions posted regarding this question, but none of the answers has actually worked for me, here\'s my AJAX:

$.ajax({
        url:         


        
5条回答
  •  被撕碎了的回忆
    2020-12-19 17:15

    $.ajax({
        url: "/FilterSessions/GetFilterSession",
        type: "GET",
        dataType: "json",
        data:JSON.stringify({ 'jsonFilters': jsonFilters}),
        contentType: 'application/json; charset=utf-8',
        success: function (response) {
            //Do your action
        }
    });
    

提交回复
热议问题