jQuery Validate Plugin IE Error
Hi,
I am having some problems with the Validate Plugin in IE. It is fine in all browsers except IE, it errors and the script does not run.
My Code:
- $("#feedbackform").validate({
- //set the rules for the fild names
- rules: {
- name: {
- required: true,
- minlength: 2
- },
- email: {
- required: true,
- email: true
- },
- message: {
- required: true,
- minlength: 2
- },
- },
- //set messages to appear inline
- messages: {
- name: "",
- email: "",
- message: ""
- }
- });
-
The error says:
"Expected identifier, string or number on Line 24 Char 1."
Any help would be greatly appreciated!
Regards,
Harry