Mark Steggles
asked on
jquery validation highlight
Hello,
I'm trying to use jquery validation highlight method but I get an error:
highlight: function(element, errorClass) {
if (element.attr("name") == "aupairLanguageList")
$("#multiSelect-aupairLang uageList-t itle").add Class("err or");
},
unhighlight: function(element, errorClass) {
if (element.attr("name") == "aupairLanguageList")
$("#multiSelect-aupairLang uageList-t itle").rem oveClass(" error");
}
"element.attr is not a function"
Any ideas?
Thanks
I'm trying to use jquery validation highlight method but I get an error:
highlight: function(element, errorClass) {
if (element.attr("name") == "aupairLanguageList")
$("#multiSelect-aupairLang
},
unhighlight: function(element, errorClass) {
if (element.attr("name") == "aupairLanguageList")
$("#multiSelect-aupairLang
}
"element.attr is not a function"
Any ideas?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER