jq ajax()跨域问题
<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>