Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9780 closed bug (invalid)

attr not working in 1.6.1 or 1.6.2 for custom attributes.

Reported by: [email protected] Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:


An example of this not working:

function toggleState() {



} else {

$(button).attr('selected', 'selected');



Only tested in Chrome 12.0.742.112

Change History (1)

comment:1 Changed 12 years ago by Rick Waldron

Component: unfiledattributes
Priority: undecidedlow
Resolution: invalid
Status: newclosed

"selected" is not a custom attribute and should only be used with option elements.

Note: See TracTickets for help on using tickets.