jquery ajax设置header的两种方式

1、setting参数 headersajax $.ajax({json     headers: {         Accept: "application/json; charset=utf-8"     },     type: "get",     success: function (data) {     } });app 2、beforeSend方法url $("#test").c
相关文章
相关标签/搜索