Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9263 closed bug (wontfix)

run $(elem).attr('disabled', true) through $.propHooks.disabled.set if present

Reported by: ryankshaw Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

Description

since according to the 1.6.1 release notes "in the interest of backwards compatibility and the usefulness of the .attr() method, we will continue to be able to get and set these boolean attributes with the .attr() method"

...we should run the propHook that goes along with it. but we dont

test case: http://jsfiddle.net/PkGau/2/

Change History (1)

comment:1 Changed 8 years ago by timmywil

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

propHooks are not for arbitrary usage, but mostly for internal usage. The property just needs to be set to true/false.

Note: See TracTickets for help on using tickets.