摘要: 今天调用js setInterval,发现不能访问外网,或者说不能访问本身域名以外的其他域名。、不知道什么原因,老是弹出:网络延时,请稍后再试!setInterval(function(){ var mathnum = Math.random(Math.round()*101); $.ajax({ type: 'GET', url:'http://www.baidu.com', success:function(msg) { alert(msg); }, error:function() { alert('网络延时,请稍后再试!'); } }); 阅读全文
posted @ 2013-11-03 14:27 午火39 阅读(186) 评论(0) 推荐(0)