慕仙7458717
2020-11-06 01:50
btn3.onclick=()=>$.ajax({
type : "get",
url: "http://server.com/getCookie",
xhrFields:{
withCredentials:true
},
crossDomain: true,
success: function(json){
result = json;
}
});
https://blog.csdn.net/qq_38527695/article/details/104899751?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param
ajax跨域完全讲解
62554 学习 · 90 问题
相似问题