It's just one of those things - some properties get the camelcase
formatting - maxLength is one of them.

--John

On 7/31/07, spinnach <[EMAIL PROTECTED]> wrote:
>
> it works that way.. how come ?
>
> dennis.
>
> John Resig wrote:
> > What if you do @maxLength and .attr('maxLength') ?
> >
> > --John
> >
> > On 7/31/07, spinnach <[EMAIL PROTECTED]> wrote:
> >> i think i've come across a tiny bug in jquery 1.1.3.1,
> >> $('[EMAIL PROTECTED]) return an empty array, although there is such a
> >> textarea in the dom.. also $('textarea').attr('maxlength') returns
> >> nothing also.. this worked before in 1.1.2 ...
> >>
> >> and i know this is invalid xhtml, but we had a need for such a thing in
> >> the backend, to limit the number of chars users can input..
> >>
> >> dennis.
> >>
> >
>
>

Reply via email to