[jQuery] Jorn's Form Validation ErrorPlacement
Hi all
in Jorn's Form Validation example page(<a href="http://jquery.bassistance.de/ajax-validation/demo-test/milk/">http://jquery.bassistance.de/ajax-validation/demo-test/milk/</a>) is presented a form with 2 radio buttons. Jorn uses this approach(next next) to display error message:
<pre style="display: block;">errorPlacement: function(error, element) {
if ( element.is(":radio") )
error.appendTo( element.parent().next().next() );</pre>
My question: how to display an error message after the last(I don't know the number of radio buttons) radio field named 'rIngredient'?
Marco Antonio