title: Check if there's some text inside an element
body: <p>I am creating an If...Else statement and need to check if the element has innerHTML / textContent. 
  Like this:</p>
  
  <pre><code>  if (&lt;span class="event"&gt; *yet has some text inside*) {do smth}
    else {do smth else};
  </code></pre>
  
  <p>So, how do I do that using Javascript?
  Please, help!</p>
  
  <p><strong>UPD!</strong> I have dynamically changing content, and </p>
  
  <pre><code> element.innerHTML
  </code></pre>
  
  <p>seems not working after I put some text inside my &lt; span >. I mean it still thinks the &lt; span > is empty. Any cure for that? </p>