Tsz Ming WONG wrote:
in line 1077, add backslash to those slashes, then `pack` again
e.g.
dateISO: function(value, element) {
return !jQuery.validator.methods.required(value, element) ||
/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);
},
then it passed all the testings (but not the original packed one)
Thanks for that fix.
Could you give the latest revision a try? I think I fixed all problems
with packer:
http://dev.jquery.com/browser/trunk/plugins/validate/jquery.validate.pack.js?format=txt
--
Jörn Zaefferer
http://bassistance.de