Modify ↓
Ticket #12027 (closed enhancement: duplicate)
Uses classList in Chrome/Firefox for className management
| Reported by: | david71rj | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.8b1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Uses el.classList DOMTokenList to handler attr(class) that support it. Basically:
el.classList.toggle("test") does the samething that $(el).toggleClass("test").
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
