title: Reaching $this value from another function
body: <p>I had these lines in my javascript file and it was working fine.</p>
  
  <pre><code>handleInput = function(e) {
      var $this = $(this),
      id = $this.attr("id");
      alert(id);
  }
  
  ....
  
  something.bind("keyup", handleInput);
  </code></pre>
  
  <p>Then I decided to delay the input function and added following lines:</p>
  
  <pre><code>handleDelayedInput = function(e) {
      setTimeout(handleInput(e), 50);
  }
  
  .....
  
  something.bind("keyup", handleDelayedInput);
  </code></pre>
  
  <p>But now <code>alert(id);</code> says undefined, because I think I couldn't pass the this to that function. </p>
  
  <p>Am I right? How can I fix? Is there any better way to do that?</p>