首页 > 其他分享 >ajax请求

ajax请求

时间:2022-08-25 15:00:52浏览次数:47  
标签:function 请求 state ajax num data name

请求示例

  $.ajax({
                        url: "/Home/GetAlarmPageData?state=" + state + "&name=" + name + "&index=" + num,
                        dataType: "json",
                        async: true,
                        beforeSend: function () {
                            $('#partload').show()
                        },
                        success: function (data) {
                            AddHtml2(data.records, indexPage);
                            AlarmDataIndex = num;
                        },
                        complete: function () {
                            $('#partload').hide()
                        },
                    });

 

标签:function,请求,state,ajax,num,data,name
From: https://www.cnblogs.com/ljingjing/p/16624278.html

相关文章