getJSON无法用于大数据 [英] getJSON not working for large data

查看:89
本文介绍了getJSON无法用于大数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的一个网站中,我正在使用$.getJSON(url, function (data),如果响应数据大于1000,则此方法不起作用.是否有其他替代方法?

In one of my website I am using $.getJSON(url, function (data) this is not working if the response data is more that 1000. Any alternate is there?

推荐答案

这可能是服务器上的设置.通常有一个最大的响应大小.您是否看过Firebug,看看响应是否真正到达了浏览器?

This is probably a setting on your server. There is typically a maximum response size. Have you looked in Firebug to see if the response is actually getting to the browser?

这篇关于getJSON无法用于大数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆