Web design has become more than just a pretty web site with a nice layout. While that’s still part of the equation, web design has evolved into the way things work, how users interact with a web site or application, and how the entire experience is crafted. In this article, I’ll show you how to take your old standard web forms and convert them to Ajax to enhance the experience in your applications.
Converting a standard form post to Ajax will require just a few steps once you have the files from this article. In this article, I’ll show you how to create an Ajax engine, a JavaScript object that catches and reroutes the submit event through the Ajax engine, and a PHP file that handles the form submission and returns a response.
You can download the source files here and view a live preview here. We’ll start by taking a brief look at the Ajax engine that’s used in the example. If you’d like to get up to speed with some Ajax basics, you can take a look at some of my previous articles.
Read the original article at Peachpit