I want to select all the elements that have the two classes a and b.
a
b
So, only the e
You do not need jQuery for this
jQuery
In Vanilla you can do :
Vanilla
document.querySelectorAll('.a.b')