title: How to remove after fadeOut of element?
body: <p>I call <code>remove</code> through a JQuery callback. The elements fadeOut successfully, but remove is seemingly not called because <code>this._id</code> is not accessible after the fadeOut call?</p>
  
  <p>Refer to the comments in the code below.</p>
  
  <pre><code>'click .destroy' : function (){
             console.log(this._id); //This is fine.
      $("#"+this._id).fadeOut('slow',function()  {
             console.log(this._id); //This returns undefined!
             Links.remove({_id:temp}); //Thus this does not work...
       });
  }
  </code></pre>
  
  <p>However, when I try to make a copy of the <code>this._id</code> variable, and remove by <code>Links.remove(temp);</code>, I get: <code>Not permitted. Untrusted code may only update documents by ID.” Meteor error</code> since this is client code.</p>
  
  <p>The insecure package is on.</p>
  
  <p>How do I go about resolving this?</p>