Testing Ajax

For "learn new stuff Friday" I wanted to see if I could get an ajax script working.  Ajax is really just a way for javascript to access data from a server and update the page without having to reload.  A simple way to start with this is to try out the Firefox Download counter

that was made by Infocraft.  It requires you to put a mirror of the feed on your server since xmlHttpRequests can only grab data from the same server.  It is all explained on his page.  So here should be a ticker for how many times the Firefox web browser has been downloaded.  It just passed 50 million:

Loading…

The feed only updates every minute, so it counts along evenly for a minute and then updates itself to correct for the real value coming from the server.

Comments are closed.