This is why I'm so confused.
The code in the demo is:
$("#form2").validate({
errorContainer: container,
errorLabelContainer: $("ol", container),
wrapper: 'li',
meta: "validate",
event: "keyup"
});
My code is:
BJ Clark wrote:
exception occured when checking element , check the 'validate' method
That gives you a good idea about the problem. There is no validation
method called "validate". Seems like your setup has a problem. Check the
docs and demo pages for examples on how to setup validation rules
Jorn:
Thanks, I was using an old version.
I've updated my code:
$("#order").validate({
errorContainer: $("#messagebox"),
errorLabelContainer: $("p", "#messagebox"),
debug: true
});
H
BJ Clark wrote:
Can anyone give me some suggestions?
For a start, it looks like you are using a rather old version of the
validation plugin. If so, please give 1.0 a try:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
The class="$v(required)" syntax was used by one of the very
4 matches
Mail list logo