title: How to compare two values with jquery?
body: <p>i have to get them via a selector and add a class.</p>
  
  <pre><code>&lt;div class="count_1"&gt;
  &lt;span class="percentage"&gt;10 %&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class="count_2"&gt;
  &lt;span class="percentage"&gt;90 %&lt;/span&gt;
  &lt;/div&gt;
  
  
  if (parseInt($(".count_1.percentage").value) &gt; $(".count_2.percentage").value)) {
              blabla
          }
  </code></pre>