The AJAX Chat clients (the user browsers) use JavaScript to query (every second) the web server for updates. Instead of delivering a complete HTML page only updated data is sent in XML format. By using JavaScript the chat page can be updated without having to reload the whole page.
http://github.com/Frug/AJAX-Chat
origin - http://www.pipiscrew.com/?p=2613 js-ajax-chat