Can this plugin be used when there is no actual submit, just redirect
via tag. However before doing redirect I need to make sure that
value entered in the filed is valid?
Thanks.
It gives me an error saying "element.attr is not a function"
What is wrong with this:
highlight: function(element, errorClass) {
if (element.attr("name") == "aupairLanguageList")
$("#multiSelect-aupairLanguageList-title").addClass("error");
},
unhighlight: function(elem
Use the highlight and unhighlight options for that.
Jörn
On Thu, Mar 26, 2009 at 3:21 PM, markstegg...@googlemail.com
wrote:
>
> Hello,
>
> Thanks for building this validation plugin, I like it. I have a
> question:
>
> The error class automatically gets added to the label with the same
> for="
Hello,
Thanks for building this validation plugin, I like it. I have a
question:
The error class automatically gets added to the label with the same
for="" name, but for a certain error I need to change the element that
gains the "error" class.
For instance, I added this line to the error place
playing around with it.
don't want to get error messages displayed.
i'm just putting in a general error message at top and highlighting
required fields.
but the label for errors gets created with a display: inline set on
the element which is
thwarting me from not showing it.
looking at the
5 matches
Mail list logo