title: Jquery Check if Paragraph is empty
body: <p>I would like to check if my paragraph tag is empty using Jquery. Meaning without content.</p>
  
  <pre><code>$(function() {
      $("#popupdialog").dialog();
  });
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;div id="popupdialog"&gt; 
  &lt;p&gt;&lt;/p&gt; &lt;/div&gt;
  </code></pre>
  
  <p>Separate Instants.</p>
  
  <pre><code>&lt;div id="popupdialog" title="Basic dialog"&gt; 
  &lt;p&gt;This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.&lt;/p&gt;
  </code></pre>
  
  <p>If the popupdialog is without content. I would like the dialog box to set as autoOpen: false. How should I do it?</p>