From http://www.w3schools.com (Copyright Refsnes Data)

AJAX Example

« Previous Next Chapter »

Your first AJAX application

To understand how AJAX works, we will create a small AJAX application.

First we are going to create a standard HTML form with two input fields: Name and Time. The "Name" field will be filled out by the user, and the "Time" field will be filled out with AJAX.

The HTML file will be named "testAjax.htm", and it looks like this (notice that the HTML form below has no submit button!):

<html>
<body>

<form name="myForm">
Name: <input type="text" name="username" />
Time: <input type="text" name="time" />
</form>

</body>
</html>

The next chapters will explain the keystones of AJAX.


« Previous Next Chapter »

From http://www.w3schools.com (Copyright Refsnes Data)