![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ajax请求
小小程序员a
这个作者很懒,什么都没留下…
展开
-
jQery ajax请求
jQery ajax请求 jQery ajax // 基本参数 $.ajax({ url:"xxxxxxx", // 请求的url地址 dataType:"json", // 后台返回格式为json //dataType:"jsonp", 跨域请求一定是jsonp //jsonp: &quot原创 2018-12-26 15:04:55 · 252 阅读 · 0 评论 -
js ajax请求
js ajax请求 原生 js ajax请求(兼容ie6) var xhr = null; if(window.XMLHttpRequest){ xhr = new XMLHttpRequest( ); }else{ // 为了兼容IE6 xhr = new ActiveXObject( "Microsoft.XMLHTTP") } xhr.open('G...原创 2018-12-27 09:55:50 · 489 阅读 · 0 评论