摘要: jQuery中的$.getJSON、$.ajax、$.get、$.post的区别 ①.$.getJSON $.getJSON()是专门为ajax获取json数据而设置的,并且支持跨域调用,其语法的格式为: getJSON(url,[data],[callback]) url:string类型, 发送 阅读全文
posted @ 2020-09-12 15:56 特立独行的狗 阅读(264) 评论(0) 推荐(0)