Opened 10 years ago
Closed 10 years ago
#13035 closed bug (notabug)
removeProp("tabindex") should remove the attribute
Reported by: | 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 10 years ago by
Component: | unfiled → attributes |
---|---|
Priority: | undecided → low |
Resolution: | → notabug |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The attribute is no longer treated like the property.