阅读背景:

使用Services_JSON和PHP中的json_encode进行JSON编码,使用jQuery ajax调用返回空对象

来源:互联网 
            $.ajax({
                url: '/ajax/get_rule.php',
                dataType: 'json',
                data: {                 
                    feature : feature,
                    ajax : 1
                },
                success: function(resp) {
                    console.log('in here');
                    console.log('response: ' + resp);

                },
                error : function() {
                    console.log('there was an error...');
                }
            }); 
            $.ajax({
                url: '/aja



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

分享到: