title: How to get class-name of element with multiple classes but only knowing 1 of them
body: <p>Im trying to get all elements that contain a class name also if the elements have multiple classes (in Javascript). For example:</p>
  
  <pre><code>&lt;div class="one two three four"&gt;
  &lt;div class="one two three"&gt;
  &lt;div class="one two"&gt;
  &lt;div class="one"&gt;
  </code></pre>
  
  <p>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.</p>
  
  <p>Any suggestions are really apreciated!</p>