Having to mess with forms all the time, I was beginning to go crazy tweeking different messages. One for success, one for failure, one for help, etc.
I decided to try to combine some css with some javascript to make a nice reusable piece to display my form messages. Here is the fruit of that labor.
The function is going to take three arguments. The first argument is a message and or list of messages. The second is the id of the node you would like to stick the message before. The last argument is a classname.







