noobie question on ajax and flash messages

0 views
Skip to first unread message

Jim Alateras

unread,
Mar 1, 2009, 7:12:15 AM3/1/09
to PeepCode
When I attempt to submit s form with incomplete data set it returns a
set of flash messages, which are subsequently displayed in the
error_message div (i'm actually using message_block plugin for that).
I am now in the process of adding some ajax support (via prototype and
lowpro) but am unsure of how to handle the flash messages when my
ajax request fails.

I could write some JS to render the error messages but was wondering
whether there was a best practice or a library out there that people
use.....i'm sure it's a common problem.


cheers
</jima>
Reply all
Reply to author
Forward
0 new messages