Skip to main content

Bug Tracker

Side navigation

#9780 closed bug (invalid)

Opened July 07, 2011 10:42PM UTC

Closed July 07, 2011 10:47PM UTC

attr not working in 1.6.1 or 1.6.2 for custom attributes.

Reported by: Owned by:
Priority: low Milestone:
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

Attachments (0)
Change History (1)

Changed July 07, 2011 10:47PM UTC by rwaldron comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → invalid
status: newclosed

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