![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ajax
文章平均质量分 66
sunda112
坚持不懈
展开
-
实现跨域script原始方式 ,代码实例
weather search北京上海天津重庆哈尔滨function callback(data){console.log(data);var d = data.weather;var tag = '';for(var i=0;ivar that = d[i];var date = that.da原创 2016-12-29 11:26:11 · 341 阅读 · 0 评论 -
跨域获取数据ajax方式
weather search北京上海天津重庆哈尔滨$(function(){$("#btn").click(function(){$("#content").text("");var cityCode = $("#city").val();url = 'http://cdn.weather.hao.原创 2016-12-29 11:29:40 · 411 阅读 · 0 评论 -
ajax 拼url地址,真的是门学问......
var dialog = new auiDialog();function openDialog(type,address_id){switch (type) {case "text":dialog.alert({title:"确认要删除此地址吗?",buttons:['取消','确定']},function(ret){if(ret.buttonIndex == 2原创 2017-05-22 17:17:06 · 7161 阅读 · 0 评论