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)
精彩评论