Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13035 closed bug (notabug)

removeProp("tabindex") should remove the attribute

Reported by: jsgoupil@… Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

The HTML attribute "tabindex" is treated as a property in jQuery since there is a propHook.

Using removeProp("tabindex") should remove the attribute from the DOM but it actually sets it to 0. It is mentioned in jQuery comment at this URL that removeAttribute should be used http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/

Change History (1)

comment:1 Changed 6 years ago by timmywil

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

The attribute is no longer treated like the property.

Note: See TracTickets for help on using tickets.