The term is Comet
, and it's basically just a block of code setup to run forever and poll (send an HTTP request) at intervals to get new data back, if any, populating an existing area with the new data.
You can read more about it:
- http://en.wikipedia.org/wiki/Comet_%28programming%29
A tutorial ( not the best style of code ):
- http://www.webreference.com/programming/javascript/rg28/
Stackoverflow question with an example:
- How do I implement basic "Long Polling"?