Help me to check buttons css class inside UI Tabs and add another one. I have some buttons. All buttons placed inside UI one tab.
I want to add another one class "red" if span.jrIconStar.
<button class="Button" data-states='{"on":"jrIconStar","off":"jrIconEmptyStar"}'>
<span title="Main Photo" class="jrIconStar"></span>
</button>
<button class="Button" data-states='{"on":"jrIconStar","off":"jrIconEmptyStar"}'>
<span title="Photo" class="jrIconEmptyStar"></span>
</button>