« Introduction to AJAX and JPSpan at php|arch magazine | Main | AJAX LiveTree : JavaScript/DHTML Tree »

AJFORM : JavaScript AJAX and PHP ToolKit

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.

Bookmark this article at these sites
Comments
1

AJFORM no longer uses any kind of proprietary attributes to execute. It now makes use of existing attributes, so it breaks no standards, and will not prevent a page from validating.

There have also been many improvments in the last few weeks. Have a look.

http://redredmusic.com/brendon/ajform/

2

Thank you for the info, great news.

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):