jQuery select an element by multiple css classes
jQuery Class selector works well if you have a single class assigned to an element. What if I assign two classes to an element(Ex: <div class="one two">
), how can I find that element if I k开发者_运维问答now these two classes?
$("div.one.two")
$('.one.two');
more on multiple selectors if you just did a search on SO first.
精彩评论