title: Hide span using jQuery
body: <p>How to hide span if there is no text even though there already is an embedded image?
  Basically there are little web icon and video icon embedded like this in each span..</p>
  
  <p>Visit website(webicon)     View Video(videoicon)
  so if ----no link text---(EMBEDDED WEBICON), the whole thing including the image icon should hide..</p>
  
  <pre><code>&lt;div class="profile-links"&gt;
       &lt;!--visit website,watch video links--&gt;
       &lt;span class="website"&gt;&lt;SharePointWebControls:UrlField FieldName="VISIT WEBSITE" runat="server"&gt;
       &lt;/SharePointWebControls:UrlField&gt;&lt;/span&gt; &lt;img class="website" src="/Style Library/Images/design/icons/icon-www.png" alt="WebSite" /&gt;
       &amp;nbsp;&amp;nbsp;
       &lt;span class="video"&gt;&lt;SharePointWebControls:UrlField FieldName="WATCH VIDEO" runat="server"&gt;
       &lt;/SharePointWebControls:UrlField&gt;&lt;/span&gt;&lt;img src="/Style Library/Images/design/icons/icon-video-teal.png" alt="Video" /&gt;                                                    
  &lt;/div&gt;
  </code></pre>