Link to home
Start Free TrialLog in
Avatar of andy7789
andy7789

asked on

jQuery: selecting elements with multiple classes

Hi X-perts,

A simple example:

1)
<tr class="child">.....
$('.child') works fine and selects all elements with class "child"

2) <tr class="child del">
$('.child)' does not work and selects nothing

How can I fix this and select the elements in case of multiple classes? Is there something as a wild card to select any elements containing "child" as one of the classes?

Thanks

A
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial