jQuery returning undefined for parents selector in simple alert
<p>I am trying to access a parent of the clicked item in the DOM tree, and for some reason it's not having any of it.</p>

<p>Here's my jQuery:</p>

<pre><code>$('.video-icon').click(function() {
    alert($(this).closest('.video-space').html())
});
</code></pre>

<p>And my html:</p>

<pre><code>&lt;div class="video"&gt;
    &lt;div class="video-space"&gt;
        &lt;img src="img/video-1.jpg" alt="" class="video-img"&gt;
    &lt;/div&gt;
    &lt;div class="video-info"&gt;
        &lt;div class="video-icon"&gt;
            &lt;img src="img/video.svg" alt="" class="video-icon-img"&gt;
        &lt;/div&gt;
        &lt;h3 class="video-text"&gt;Watch video&lt;/h3&gt;
        &lt;h3 class="video-title" data-video="http://www.youtube.com/watch?v=xxxxxxxxx"&gt;Toy Story Trailer&lt;/h3&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Any advice on to get it working is great!</p>
