I have the following code:
<div class="field-name-new">
<div class="field-label">New</div>
<div class="field-items">
<div class="field-item">0</div>
</div>
</div>
I need to show div.field-label only if div.field-item has value 1 and hide it if it has value 0.
Supposing there is only one
div.field-iteminside eachdiv.field-itemsthis should work:example: http://jsfiddle.net/zsA7W/