Bug Tracker

Modify

Ticket #1469 (closed bug: duplicate)

Opened 6 years ago

Last modified 6 years ago

.attr("maxlength") broken for textarea

Reported by: shauke Owned by:
Priority: minor Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: textarea attr maxlength Cc:
Blocking: Blocked by:

Description

$("textarea").attr("maxlength") is broken since jQuery 1.1.3 (works fine in 1.1.2).

.attr("maxlength") works fine for input type="text" and getting other attributes from textarea also works fine (for example .attr("rows")) but for $("textarea").attr("maxlength") it returns undefined independent if i use $("textarea") or $("#aTextareaID").

Change History

comment:1 Changed 6 years ago by john

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #1447.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.