开发者

ajax sql reload

I have a "news" feed for internal staff that works similar to the facebook feed. When the facebook feed as new updates from mysql开发者_运维技巧 it looks as though the div reloads and pushes down and load the most recent updates.

I'm not sure how to go about doing this in (jquery) or javascript. Any thoughts on pushing me in the right direction?


You can achieve this using jQuery. I think Following article will help you:

  • How to implement a Post-to-Wall Facebook-like using PHP and jQuery

If I understand your problem then you need something like this:

  • Demo (You can get news from database instead of textbox)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜