title: jQuery pass $this to function parameter
body: <p>I have:</p>
  
  <pre><code>&lt;img id="leftBubble" class="bubbles" src="left.png" /&gt;
  &lt;img id="rightBubble" class="bubbles" src="right.png" /&gt;
  </code></pre>
  
  <p>And a hover event like so:</p>
  
  <pre><code>$(".bubbles").each(function(){
      $(this).hover(function() { 
          pause($(this));
      }, function() {
          play(4000, $(this));
      });
  });
  </code></pre>
  
  <p>My pause() function does not seem to be working</p>
  
  <pre><code>function pause(pauseMe) {
      if (pauseMe == $("#leftBubble")) {
          clearTimeout(timer1);                        //this is never reached
      } else if (pauseMe == $("#rightBubble")) {
          clearTimeout(timer2);                        //nor this
      }
  }
  </code></pre>
  
  <p>Any idea to make the hover event pass $this as the parameter for the pause function?</p>