jq ajax()跨域问题

d510473863 2014-06-24 06:38:52
<script language="javascript">

//$(function(){
// $.ajax({
//

url:"http://app.cnwir.com//qiye/GETCoupon.json?k=2&appUserName=ruisi88&page=1",
// type:"post",
// dataType:"json",
// success: function(data){
// alert(111);
// var data = data.data;
// var str="<ul data-role='listview'>";
// $.each(data,function(i,r){
// str+='<li><a href="#page_info" data-

transition="slide"><img src="r.imgpath"/><h3>"r.title"</h3><p>"r.endTime"</p></a></li>';
// });
// str +="</ul>";
// $("#youhui_list").empty();
// $("#youhui_list").html(str);
//
//
//
// }
// });
// });
</script>
...全文
200 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

80,337

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧