In this Ajax example the form POSTed to the server and is then replaced with a new form returned from the server. This example shows advanced feature such as validation and integrating the DateField control. For more advanced Ajax Forms (eg. file uploads) have a look at the jQuery Form Plugin.

See the advanced-form-ajax.js script for details. $form