Can't fadeOut span or image but I can fadeOut DIV?
<p>Newbie in javascript.. Need a little help.</p>

<p>I have a SPAN or IMG that I want to fadeOut using javascript. However nothing happens when I do this:</p>

<pre><code>// HTML
&lt;span id='test_one'&gt;Span Text Here&lt;/span&gt;
&lt;img src='img_src_here' id='test_two'&gt;

// JavaScript
$(test_one).fadeOut();
$(test_two).fadeOut();
</code></pre>

<p>But if I do this, it functions correctly:</p>

<pre><code>// HTML
&lt;div id='test_one'&gt;Span Text Here&lt;/div&gt;

// JavaScript
$(test_one).fadeOut();
</code></pre>

<p>Am I just making or a silly mistake or am I going insane?</p>

<p>Thanks<br>Coulton</p>
