.fadeOut() on a image doesn't seem to be executing
<p>I have a input text box. After the user is idle from typing I want it to submit the form(which works in the below code) and a image of a checkmark to popup then fadeout. I was just trying to test the fadeout function so the img is visible but I can't seem to get it to work.</p>

<pre><code>var timer = null;
$('.form_timer').keyup(function()
{
    if (timer) {
        clearTimeout(timer);
    }

    var test = $(this);
    timer = setTimeout(function() {
        test.next('img').fadeOut('slow');
        test.closest('form').submit();

    }, 700);
});
</code></pre>

<p>:EDIT#1 Markup</p>

<pre><code>&lt;div class="accordion"&gt;
    &lt;div class="group"&gt;
        &lt;form accept-charset="UTF-8" action="/tasks/2" class="simple_form edit_task" data-remote="true" id="edit_task_2" method="post" novalidate="novalidate"&gt;&lt;div style="margin:0;padding:0;display:inline"&gt;&lt;input name="utf8" type="hidden" value="&amp;#x2713;" /&gt;&lt;input name="_method" type="hidden" value="put" /&gt;&lt;input name="authenticity_token" type="hidden" value="Fil9PitLB6ZhHtWwBOehbOBkq2yE6qikN5cU0zr4wRQ=" /&gt;&lt;/div&gt;
            &lt;h3&gt;&lt;div class="input string optional"&gt;&lt;label class="string optional control-label" for="name_2"&gt;Task Name&lt;/label&gt;&lt;input class="string optional form_timer" id="name_2" name="task[name]" placeholder="New Task" size="50" type="text" value="somethingdd" /&gt;&lt;/div&gt;&lt;/h3&gt;
            &lt;div&gt;
                &lt;div class="input string optional" style="display: inline"&gt;&lt;label class="string optional control-label" for="description_2"&gt;Description&lt;/label&gt;&lt;input class="string optional form_timer" id="description_2" name="task[description]" size="50" type="text" value="blah123asdfgokkkkkasddadsdd" /&gt;&lt;/div&gt;&lt;img alt="checkmark" class="form_checkmark" height="20px" src="/assets/checkmark.jpg" width="20px" /&gt;
            &lt;/div&gt;
        &lt;/form&gt;
    &lt;/div&gt;
&lt;/div&gt;        
</code></pre>
