Simple Example

Ajax, shorthand for Asynchronous JavaScript and XML, is a web development technique for creating interactive web applications.

Click JavaScript or XML

HTML/CSS/JavaScript source:

Ajax, shorthand for Asynchronous
<a href="javascript://" onclick="
cbaUpdateElement(
'examples-info',
'http://crossbrowserajax.com/data/examples/quickhelp.php?word=javascript');
">JavaScript</a>...
<p id="examples-info"></p>

Actual Request:

http://crossajax/data/examples/quickhelp.php?word=javascript&_cba_request_id=0
_cba_request_id - identifier of the request, generated by library CBA

Response (quickhelp.php):

_cba.ready (
    0, // value '_cba_request_id'
    "JavaScript is the name of Netscape..." // response
);
# XHTML valid # CSS valid