其他分享
首页 > 其他分享> > ajax请求

ajax请求

作者:互联网

请求示例

  $.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
来源: https://www.cnblogs.com/ljingjing/p/16624278.html