Skip to main content

Bug Tracker

Side navigation

#11161 closed bug (invalid)

Opened January 11, 2012 06:14PM UTC

Closed January 11, 2012 06:25PM UTC

jquery 1.7.1 min - attr

Reported by: Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
<span id="enable">Enable input</span>
<input id="test" type="text" name="a[]" disabled=disabled />

  // disabled!!! bug or I'm idiote? 
Attachments (0)
Change History (1)

Changed January 11, 2012 06:25PM UTC by timmywil comment:1

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

The mere presence of the disabled attribute indicates true for its boolean property. Setting to empty string does not change its behavior. Instead, you can do .removeAttr('disabled'), but I recommend looking into to set the actual property.