Remove div if all img src is null inside the div
<p><strong>Html code</strong></p>

<pre><code>    &lt;div class="add_pdt_img_nc"&gt;
    &lt;h5&gt;Additional Images&lt;/h5&gt;
    &lt;img border="0" src="" alt=""&gt;
    &lt;img border="0" src="" alt=""&gt;
    &lt;img border="0" src="" alt=""&gt;
    &lt;img border="0" src="" alt=""&gt;
    &lt;/div&gt;
</code></pre>

<p>i want to remove div has class add_pdt_img_nc if all image src is null</p>

<p>i have tried so far</p>

<pre><code>   $(".add_pdt_img_nc img").each(function() {
    if($(this).attr("src") == "") {
    $(".add_pdt_img_nc").remove();
    }
    });
</code></pre>

<p>but it remove div if first img src is null and not check if other img src has value </p>
