How do I check a DOM value is not empty and then copy it in another place in DOM tree
<p>I have a structure like this:</p>

<pre><code>&lt;div class="destination"&gt;--here needs to copy the value of destination--&lt;/div&gt;

&lt;div class="block-inner clearfix"&gt;
&lt;div class="contextual-links-wrapper"&gt;
&lt;div class="content"&gt; $ 300 &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>I just want to check if <code>&lt;div class="content"&gt; ...&lt;/div&gt;</code> is not empty and then copy the value into <code>&lt;div class="destination"&gt;&lt;/div&gt;</code>...How do I achieve that?</p>

<p>I expect is something like</p>

<pre><code>if (!jQuery(".content:empty")) {
...logic here...
}
</code></pre>

<p>Thanks </p>
