Alternative to Polling. HTML Updates Alternative to Polling. HTML Updates ajax ajax

Alternative to Polling. HTML Updates


Either use long polling for it to work in older browsers, or start reading up on eventSource:

http://dev.w3.org/html5/eventsource/

Nice article by Nicholas Zakas:

http://www.nczonline.net/blog/2010/10/19/introduction-to-server-sent-events/


Well im starting to use Websockets (see some of my previous questions) and they are cool to use instead of ajax :-D


Generally no, but there is a family of techniques that simulate such an effect.

Look into comet if you'd like to give it a shot: http://en.wikipedia.org/wiki/Comet_(programming)