javascript test if div has text in it
<pre><code>1. &lt;div id="div_Msg"&gt; Test the div &lt;/div&gt;
2. &lt;div id="div_Msg"&gt; &lt;/div&gt;
</code></pre>

<p>In  the first instance there is the text  in the div. In the second instance there is no text. Using javascript how can it be tested if a div has text in it.</p>
