This post explains how to do polling with jQuery. Using traditional methods of polling, the connection to the server is lost. With jQuery long polling, the connection to the server is maintained throughout the poll. WebSockets is a future alternative that provide push-type data. This post also explains a bit of how WebSockets work.