I need to get the divs inside the main div and if the data inside them is empty hide theat div
<p>I have a main dive and inside that there are 2 dives. I need to check that if div's data is empty don't show them. BTW data comes from API.</p>

<p>Here is code:</p>

<pre><code>&lt;div id ="select"&gt;
     &lt;ul&gt;
         &lt;li&gt;&lt;div id="product1" style="font-family:arial; font-size:13px; border-bottom:1px solid #b8b8b8; background-color:#eeeeee; padding:10px;"&gt;

               &lt;strong&gt;{$feed/API Feed_142197/__data["1-Title"]}&lt;/strong&gt;
               &lt;br/&gt;
               &lt;p&gt;{$feed/API Feed_142197/__data["1-Desc"]}&lt;/p&gt;

              &lt;div style="display:inline; align:left; color:green; font-weight:bold;"&gt;{$feed/API Feed_142197/__data["1-Price"]}&lt;/div&gt;

               &lt;div style="display:inline; padding-left:80px; padding-right:5px;"&gt;click to call image&lt;/div&gt;&lt;/div&gt;
         &lt;/li&gt;


         &lt;li&gt;&lt;div id="product2" style="font-family:arial; font-size:13px; border-bottom:1px solid #b8b8b8; background-color:#eeeeee; padding:10px;"&gt;
              &lt;strong&gt;{$feed/API Feed_142197/__data["2-Title"]}&lt;/strong&gt;
              &lt;br/&gt;
              &lt;p&gt;{$feed/API Feed_142197/__data["2-Desc"]}&lt;/p&gt;
              &lt;div style="display:inline; align:left; color:green; font-weight:bold;"&gt;{$feed/API Feed_142197/__data["2-Price"]}&lt;/div&gt;
              &lt;div style="display:inline; padding-left:80px; padding-right:5px;"&gt;click to call image&lt;/div&gt;&lt;/div&gt;
         &lt;/li&gt;

&lt;/div&gt;
</code></pre>
