Is there any body known about this problem? My code: //js code “data[User][password]“: { required: true, minlength: 6, maxlength: 15 }, “data[User][confirmPassword]“: { required: true, minlength: 6, maxlength: 15, equalTo: “#UserPassword” }, //code end
The error happened at line 1040 of jquery.validate.js //code equalTo: function(value, element, param) { return value == $(param).val(); } //end The ‘$(param).val()’ here is always empty. I test this on Chrome, it works fine there.