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 know these two classes?
$("div.one.two")
$('.one.two');
more on multiple selectors if you just did a search on SO first.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With