Show Text on Image Hover
<p>I'm trying to have an image description shown when hovering over the image which is placed in a div (<code>#web01</code>).</p>

<p>I've been toying with the <code>mouseenter</code>/<code>mouseleave</code> and have been able to get text shown but when I link it to a div it doesn't seem to work.</p>

<p>It's probably dead easy but i can't see what I'm doing wrong.</p>

<pre><code>$(document).ready(function () {
    $("#web01").mouseenter(function () {
        $("#titel").html('&lt;p class="titel"&gt;description&lt;/p&gt;');
    });
    $("#web01").mouseleave(function () {
        $("#titel").html('&lt;p class="titel"&gt;&lt;/p&gt;');
    });
})
</code></pre>
