I want to select all elements with both Class1 and Class2.
$(“.Class1 .Class2”) seems not to work…
Thanks!
Update in responce to comment:
I have the following html
<input class="Class1 Class2"/>
<div class="Class1"/>
<select class="Class2"/>
I want to only select the tags with both classes.
That should be as simple as this: