Script for validating online forms
This example uses the Java Script XMLHttp Request object and PHP server-side scripting to check that the Email address entered is valid (at least that it matches a particular regular expression) and that the Age lies between 16 and 100.As the form is completed, the values are passed immediately to the server as POST variables, the server calculates a result, passing back an XML file which is then parsed to trigger various actions on the page as you will see.
Supports HTML5, SVG 1.1, Math ML 3.0, ITS 2.0, RDFa Lite 1.1. For an Age input value of 12 the validation script returns the following XML document: s of elements in the HTML document.See the article Web Services using XMLHttp Request (Ajax) for details on all avaiable commands and their parameters. D after the before the Reformation It was first used in 456 A.D after the before the Reformation It was first used in 456 A.