Skip to main content

Bug Tracker

Side navigation

#13035 closed bug (notabug)

Opened December 11, 2012 07:34PM UTC

Closed December 17, 2012 06:46PM UTC

removeProp("tabindex") should remove the attribute

Reported by: jsgoupil@gmail.com 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/

Attachments (0)
Change History (1)

Changed December 17, 2012 06:46PM UTC by timmywil comment:1

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

The attribute is no longer treated like the property.