i have to get them via a selector and add a class.
<div class="count_1">
<span class="percentage">10 %</span>
</div>
<div class="count_2">
<span class="percentage">90 %</span>
</div>
if (parseInt($(".count_1.percentage").value) > $(".count_2.percentage").value)) {
blabla
}