Skip to main content

Bug Tracker

Side navigation

#2170 closed bug (fixed)

Opened January 15, 2008 10:11PM UTC

Closed May 13, 2008 12:39AM UTC

Last modified May 13, 2008 05:28PM UTC

attr() fails to get/set value for maxlength attribute on textarea elements

Reported by: rettipio Owned by:
Priority: minor Milestone: 1.2.4
Component: core Version: 1.2.2
Keywords: attr Cc:
Blocked by: Blocking:

On tested browsers (IE 6+, Safari 3 Win/Mac, FF 2+ Win/Mac) the attr() method fails to get/set value for the maxlength attribute on textarea elements. While maxlength is not a valid attribute for the textarea element, the company i work for uses it for validation purposes, and theoretically, jQuery should be able to find any attribute of a particular element.

I have attached fixed versions of jQuery core v.1.2.2.

The offending(now fixed) code occurs at line 1040 in the attached uncompressed version.

Attachments (1)
Change History (4)

Changed January 20, 2008 02:13PM UTC by joern comment:1


Changed January 20, 2008 02:14PM UTC by joern comment:2

need: PatchTest Case

Changed May 13, 2008 12:39AM UTC by flesler comment:3

resolution: → fixed
status: newclosed

Fixed at [5574], check #2548.

Changed May 13, 2008 05:28PM UTC by flesler comment:4