How do I call a function on selected element?
<p>Warning: stupid question!
But I have tried looking this up and I can't figure out what to search for or what I am doing wrong.
I am trying to make an image fade in, here is my code:</p>

<pre><code>$('.Middle-Tennessee').show().showNice(this);
</code></pre>

<p>and later I have my function:</p>

<pre><code>function showNice(x){
    x.css('opacity', '0');
    x.animate({
        opacity: 1,
    }, 5000);
}
</code></pre>

<p>Thanks!!</p>
