SyntaxFix
Write A Post
Hire A Developer
Questions
your code $(".a, .b") will work for below multiple elements (at a same time)
$(".a, .b")
<element class="a"> <element class="b">
if you want to select element having a and b both class like <element class="a b"> than use js without coma
<element class="a b">
$('.a.b')