$.ajax({
Type:”get/post”,
Url:””,
dataType:”jsonp”, 利用 jsonp 进行跨域
Data:{},
async: false,–默认为 true 异步
cache: false,–默认为 true 缓存
beforeSend:fucntion(){},
Success:function(){},
Errorr:function(){}
})
ajax使用
最新推荐文章于 2022-08-12 16:42:53 发布
$.ajax({
Type:”get/post”,
Url:””,
dataType:”jsonp”, 利用 jsonp 进行跨域
Data:{},
async: false,–默认为 true 异步
cache: false,–默认为 true 缓存
beforeSend:fucntion(){},
Success:function(){},
Errorr:function(){}
})