Check whether a DIV contains Image or not
<p>I am trying to determine whether a DIV has a image or not. Structure of my DIV is as:</p>

<pre><code>&lt;li class="customData"&gt;
  &lt;div class="customdata1"&gt;&lt;img src="" /&gt;&lt;/div&gt;
  &lt;div class="customdata1"&gt;&lt;input type="text" /&gt;&lt;/div&gt;
&lt;/li&gt;
</code></pre>
