Im trying to get all elements that contain a class name also if the elements have multiple classes (in Javascript). For example:
<div class="one two three four">
<div class="one two three">
<div class="one two">
<div class="one">
So i now want all classes that contain the class "one". So in this case all of them. If i use getElementsByClassName i can only specify 1 class or i need to write the exact multiple classes there.
Any suggestions are really apreciated!