标签:ext request logs cdn 实例 app function trap pre
参考链接 http://blog.sina.com.cn/s/blog_502b92330102w7pc.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bootstrap 实例</title> <script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script> <script src="http://libs.cncdn.cn/jquery-ajaxtransport-xdomainrequest/1.0.3/jquery.xdomainrequest.min.js"></script> </head> <body> </body> <script> var ur = ‘http://139.129.222.142/happyclass/restfulapi/getClass‘; $.ajax({ url: ur , type: "get" , success: function( data, textStatus, jqXHR ){ alert("返回的数据" + data); } , error: function(jqXHR, textStatus, errorMsg){ alert("请求失败:" + errorMsg); } }); </script> </html>
标签:ext request logs cdn 实例 app function trap pre
原文地址:http://www.cnblogs.com/WhiteHorseIsNotHorse/p/6412873.html