Maybe it's different for Javascript? _____
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Blades Sent: Tuesday, July 31, 2007 12:22 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: ..selector bug.. That's odd? According to the w3c: 'XHTML documents must use lower case for all HTML element and attribute names. This difference is necessary because XML is case-sensitive e.g. <li> and <LI> are different tags.' ref: http://www.w3.org/TR/xhtml1/#h-4.2 Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com <http://blog.cutterscrossing.com/> 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] <mailto:[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. >> >