title: Javascript TypeError: $(...).parent is not a function
body: <p>I am having this error when I click on the following code:</p>
  
  <pre><code>onclick="tester.removeit(this);"
  </code></pre>
  
  <p>I get Error:</p>
  
  <pre><code>TypeError: $(...).parent is not a function
  </code></pre>
  
  <p>Here is the function:</p>
  
  <pre><code>removeit: function(ele) {
  
      $(ele).parent('div').fadeOut();
      console.log(this);
  
  },
  </code></pre>
  
  <p>How can I fix this?</p>