Published on 2005-08-23 09:26:36
AJFORM is a JavaScript toolkit which simply submits data from any given form in an HTML page, then sends the data to any specified JavaScript function. AJFORM degrades gracefully in every aspect. In other words, if the browser doesn't support it, the data will be sent through the form as normal.
In addition to the main javascript AJForm.js, AJForm add special tags to the html form like ajform:handler and ajform:submitonfail, it could work on some browsers but I didn't like the way it broke the standard. Pretty useful for people looking for fast solution, but it will be better if it adds some hidden variable that will be parsed easily by the Javascript.
Member of the PHP Magazine Network, Copyright (C) 2005-2008 phpmagazine.net All Rights Reserved