Jean schrieb:
I had a problem with a validation plugin in a form with some ul li fomatation
couze i´m using display: table and cia to emulate a table formation
Can anyone help me?
Could you explain what exactly your problem is?

If you are using a table layout, why don't you use a table? Here is an example for the errorPlacement option that works with a table layout, assuming that the error message should be displayed in the cell next to the input [label, input, message].

$("#myform").validate({
        errorPlacement: function(error, element) {
                error.appendTo( element.parent("td").next("td") );
        },
        success: function(label) {
                label.text("ok!").addClass("success");
        }
});


-- Jörn

Reply via email to