Modify ↓
Ticket #6883 (closed bug: worksforme)
.addClass problem with '-'in class names
| Reported by: | sebrojas | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | core | Version: | 1.4.2 |
| Keywords: | addClass | Cc: | |
| Blocking: | Blocked by: |
Description
When the class name sent by parameter includes the '-' character, the method doesn't work
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.

$(".test-me").text() showed "test" with this html:
Please attach the smallest possible test case that demonstrates the problem.