To begin learning AJAX, it is a good to start with a standard HTML form. It will not have a “Submit” button but will have two text field inputs: name and date. The name field will be filled in by the user, and the date filed will be filled in using AJAX. The following example shows HTML code for this form.
Name: <input type=’text’ name=’user’ /> <br />
Date: <input type=’text’ name=’date’ />