[jQuery] Re: [validate] plugin maxlength bug with textarea?

2009-02-19 Thread rami
That works. Thank you for very fast answer and fix! Hopefully 1.5.2 comes out soon. Rami. On Feb 19, 1:41 pm, Jörn Zaefferer wrote: > Good call. My fix looks slightly different, but should work just as well. > > You can get the latest revision > here:http://jqueryjs.googlecode.c

[jQuery] [validate] plugin maxlength bug with textarea?

2009-02-19 Thread rami
, $(element).val(), element, rule.parameters ); That $(element).val(), replaces all the \r\n with \n so that a line break results as one character in validation. At least I did not find any option to fix this. Tested with validation plugin 1.5.1. Br. Rami