I have the following:
<div class="showcaseBeds">0 Bedroom</div>
<div class="showcaseBaths">0.00 Total Bathroom</div>
<div class="IDX-showcaseBeds">3 Bedrooms</div>
<div class="IDX-showcaseBaths">3.00 Total Bathrooms</div>
I want to hide the div if the showcaseBeds inner html == 0 Bedroom aswell as hide the showcaseBaths if inner html == 0.00 Total Bathroom
I have found a few jquery solutions that hinged on the attributes but not the inner html.
$('div.item:has()').remove();