AJAX Example
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.
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|