Determine if child of <div> is &nbsp;
<p>I need to check whether the contents of a div are either <code>&amp;nbsp;</code> or more <code>&lt;div&gt;</code>'s and such.</p>

<p>I thought maybe I could do this like $('#right-rail').content or $('#right-rail').value or even $('#right-rail').children(), but it doesn't seem to work.</p>

<p>All I get is either "undefined" or "[object Object]".</p>

<p>Thanks for any help I can get :).</p>

<p>PS, using jQuery if you hadn't guessed by now.</p>
