[jQuery] yav plugin could be use Jorn's approach

[jQuery] yav plugin could be use Jorn's approach

Yav jquery plugin(<a href="http://letmehaveblog.blogspot.com/2007/08/easy-client-side-web-forms-validations.html"> http://letmehaveblog.blogspot.com/2007/08/easy-client-side-web-forms-validations.html</a>) is a very nice form validation. Really! But I'll want to suggest Sevir to, if possible, use Jorn's approach separating messages and rules.
Yav works like:
<span class="tag"><</span><span>input </span><span class="attribute">class</span><span>=</span><span class="attribute-value">"required alphanumeric"</span><span> </span><span class="attribute">
id</span><span>=</span><span class="attribute-value">"username"</span><span> </span><span class="attribute">title</span><span>=</span><span class="attribute-value">"Please write only alphanumeric characters, this field is required."
</span><span> </span><span class="attribute">name</span><span>=</span><span class="attribute-value">"username"</span><span>>
and Jorn's Form Validation plugin works like:
                rules: {
                    age_co_agen: { required: true },
                    raz_co_raz: { required: true },
...
                messages: {
                    age_co_agen: "Please provide an agent",
                    raz_co_raz: "Please enter with raz ",
...
For me Jorn's looks better for maintenance and haves a very clear code.
Cheers</span>