如何在页面加载时从json响应中显示新数据 [英] how to display new data from json response on page load
本文介绍了如何在页面加载时从json响应中显示新数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用jquery.ajax方法显示来自rss feed的数据,如果rss feed被更改,我每次都会设置新数据的间隔。
现在我的问题是我想只显示来自ajax响应的前5条记录,一旦设置间隔被触发,我想显示来自feed或new的下5条记录Feed中的数据。
即显示来自Feed的5的插槽中的数据,但是当触发setinterval时它应该刷新。
请帮助演示..
解决方案
检查此链接:
http://stackoverflow.com/questions/24474221/auto-refresh-对的一标签文本在-ASP-母版,而无需装载-的-整个页
Hi,
I am using jquery.ajax method to display data from rss feed and i have also setinterval to new data every time if rss feed is changed.
Now my issue is i want to display only top 5 records from ajax response and as soon as set interval is fired i want to display next 5 records from feed or new data in the feed.
i.e to display data in slot of 5 from feed but it should refresh as setinterval is triggered.
please help with an Demo ..
解决方案
Check this link :
http://stackoverflow.com/questions/24474221/auto-refresh-of-a-label-text-in-asp-masterpage-without-loading-of-entire-page
这篇关于如何在页面加载时从json响应中显示新数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文