Syntax Highlighter

Google+ Badge

2009-11-13

jQuery().notify();

jQuery("#messageDiv").notify("error","You are using .NET, please don't make such obvious mistakes in future.");

That's all that is needed to add an inline error message in the format designed within jQuery UI Theme Roller.
There are several notification types pre-added but it is totally configurable at runtime with default template values you can pass in.

I also added the ability to use multiple messages and create a list like if you needed validation messages for multiple form fields in a single message box for example.

I will add more detail and the actual code in the next few days.

No comments:

Post a Comment