If this question has already been asked I appologies, please point me in the right direction.
I was wondering if anyone has any insight into how StackOverflow pops up the ‘n new answers have been posted, load new answers’ thing at the top of a question when you are adding a post. This seems like a very useful function for my forum web-site and I would like to know how it is done. I assume some ajax or advanced javascript of some kind.
Look at this SO blog post: https://blog.stackoverflow.com/2008/10/solving-the-fastest-gun-in-the-west-problem/