On 11/14/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> what is your preferred approach to display messages? Think of validation 
> messages for a form.
>
> I'm looking for an approach that would work for both client- and serverside 
> generated messages.

I always append a div with an unordered list of elements above the
form and then link each error message to an input. I also usually add
a class of 'error' to the label and input and then on focus I remove
the error class. Both the front-end and back-end can easily generate
the unordered list.

--
Brandon Aaron

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to