Ajax demonstration - Asyncronous Javascript and XML

The selection box on this page calls up a server side program (an application server / content provider / web service) and displays elements of the result in the changeable area of the page
Please select a programming language

This text initially loaded with page

When you make a selection, the answer comes here


Ajax stands for "Asyncronous Javascript and XML" ... and this demonstration uses it.

Using Ajax, a suitable browser can ask a server for dynamic information to be filled in to an existing page, without the need to retransmit the whole page - and in this example, we're calling up a server to replace the text in the light blue box just above whenever a selection element on the form is completed.

In this simple example too, we have not checked within our JavaScript as to the make / version of the browser, so if it's used with a non compliant browser it will fail silently.

Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/ajax456.html
See source code here • More examples - same topic here
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net