Usability Views Article Details
 home | timeline | recent | popular | e-reports | userati | books | about 

AJAX: Usable Interactivity with Remote Scripting (13 Jul 2005)
In order to demonstrate how to use the XMLHttpRequest protocol inside a remote scripting application, I've created a simple, one-page example. It assumes that JavaScript and XMLHttpRequest are available in order to make the code more readable, but in any real-world application, you should always check that XMLHttpRequest is available and have a fallback (i.e. normal form submission) where it is not.

The example application will allow the user to send a free ecard to a friend's email address. To do this, the user has first to enter a receipt number, which they received when they purchased goods previously, and which has since been stored in the database of ExampleCo. Then, the user must complete the remaining fields before the ecard is sent, entering the recipient's email address, the message, and the graphic image that will be used for the card.
Article URL:

Read 92 more articles from SitePoint sorted by date, popularity, or title.
Next Article: Evaluating the Usability of Educational Websites for Children
 RSS 0.91 Subscribe with Bloglines Add to My Yahoo!
Some of the people who make up the Userati group
This site is a labour of love built by Chris McEvoy

Amazon Honor SystemClick Here to PayLearn More