title: a.nodeName is undefined Jquery error
body: <blockquote>
    <p>a.nodeName is undefined</p>
  </blockquote>
  
  <p>I've looked this up but the explanations didn't seem at all clear to me. </p>
  
  <pre><code>function deleteThisRow() {
      $(this).closest('tr').fadeOut(400, function(){
          $(this).remove();
      });
  }
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>&lt;tr&gt;
      &lt;td&gt;blah blah blah&lt;/td&gt;
      &lt;td&gt;
          &lt;img src="/whatever" onClick="deleteThisRow()"&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>