Bug Tracker

Opened 12 years ago

Closed 12 years ago

#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:
Blocked by: Blocking:


When the class name sent by parameter includes the '-' character, the method doesn't work

Change History (1)

comment:1 Changed 12 years ago by dmethvin

Resolution: worksforme
Status: newclosed

$(".test-me").text() showed "test" with this html:

<div id="test-me">test</div>

Please attach the smallest possible test case that demonstrates the problem.

Note: See TracTickets for help on using tickets.