阅读背景:

jQuery $ .each结合了AJAX请求 - 糟糕的做法?

来源:互联网 

I have this code:

我有这个代码:

$(document).ready(function() {
            var url = "https://graph.facebook.com/search?q=cinema&type=post";
            $.ajax({
               type: "POST",
               url: url,
               dataType: "jsonp",
               success: function(msg){
                 console.log( msg );
                 $.each( msg.data , function(i,obj){
                    $('#cinemas').append(obj.message + '<br />');

                 });
               }
             });
        });
$(document).ready



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: