text: what does ajax satnd for?   what does ajax stand for?  ajax means 'asynchronous javascript and xml'. adaptive path came up with the term in this essay: http://www.adaptivepath.com/publications/essays/archives/000385.php. however, the word is really a bit of a misnomer: ajax doesn't really rely on xml at all, but rather on a javascript function that happens to be named xmlhttprequest.  all about xmlhttprequest.  xmlhttprequest was originally invented and implemented by a microsoft team who were working on a webmail application, and it's been around for a while now (since 1999, in fact). the reason it has suddenly come to prominence now is that google used it in three projects, gmail, google suggest and google maps, and in each case managed to create a much better user interface than they would have been able to otherwise.  so what does xmlhttprequest do? to put it simply, it lets your javascript go back to the server, fetch some new content, and write it back out onto the page - all without the user having to change pages. this gives a 'smoother' feel to web applications, as they can do things like submit forms without the whole browser window needing to go blank and reload the page. take a look at maps.google.com now, and notice how you can drag the map around anywhere you want to go without having to reload the page. this would be unthinkable without xmlhttprequest.  one of the biggest reasons xmlhttprequest has become popular now is that browsers other than internet explorer have started to support it, mainly due to the fuss over its use in gmail. the function is, by all accounts, a very simple one in technical terms: it was just a matter of someone having the idea.  getting started with ajax.  the first thing to do to get started with ajax, then, is to create an xmlhttprequest object in your javascript code. as ever, internet explorer has to be difficult, doing this a different way to every other browser out there. that means that you should use this javascript code:  var ajax; onload = function () {    if (window.activexobject) {       ajax = new activexobject("microsoft.xmlhttp");    }    else {       ajax = new xmlhttprequest;    } }  what you've done there is declared ajax as a global variable (usable by all functions), and then created a new ajax object when the page loads, either using activex for internet explorer or the xmlhttprequest function in other browsers.  the next step is to write two more functions: one to get data from a url, and one to handle the data that comes back.  function gettext(url) {    ajax.open("get", url, true);    ajax.send(null); }  ajax.onreadystatechange = function () {    if (ajax.status == "200") {    // do things with retrieved text (in ajax.responsetext)    } }  all you need to do then is call gettext from the relevant part of your code with a url you want to get text from, and put that text wherever you want it to be in the state change function.  the most powerful thing about this approach is that the url you send to the server can contain variables, using the old rest (question marks and equals signs) way of doing things.  that means that, using the code above, you can easily send a request to ajax.php on your server, and include the current value of, say, an input box for a username on a registration form. the ajax.php script checks whether that username is already in use, and then sends either '1' or '0' as its only output. all you would then need to do is check whether ajax.responsetext was 1 or 0, and change the page accordingly, preferably using getelementbyid.  should i use it?  the question remains over just how useful this is: it's certainly good for some applications where users would otherwise have to submit data over and over again, but it's not much use for smaller ones. ajax coding has a tendency to take a lot of time, especially the first time you try it, and this is 