Providing Feedback

Peachpit, Written by

One important aspect of developing web applications is creating feedback messaging–such as errors, warnings, and success messages–that will guide the end user through certain tasks. This messaging needs to be clear and visually consistent. For instance, we could do something as simple as setting the background color for a success message to green and the background for an error messages to red. In this segment, I’m going to show you how to create this messaging using Ajax. You might be surprised just how easy it is to create a reusable JavaScript object that will manage all of these different responses.

Read the original article at Peachpit