jquery - Select element by class name issue -
i have question regarding jquery selector.
i have element class following
<td class='test color-picker'>cell</td> i tried select $('.test color-picker') doesn't seem able select when there space between them. can't change class name because effects many other things. there anyways can go around it? much!
$('.test.color-picker') this match element both classes. class='test color-picker' 2 distinct class names, test , color-picker.
your code trying find <color-picker> element contained within element class of test.
Comments
Post a Comment