title: Passing event object to debounced function in IE8
body: <p>I want to debounce a keyup event on a table of rows which causes an AJAX call. I have used all debouncing plugins out there, including the one for jQuery by Ben Alman, the one from Underscore.js, the jQuery <code>delayed()</code> plugin, as well as one plugin from Filatov Dmitry which extends jQuery (like Ben Alman's).</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>function onKeyUp(evt) {
      doSomethingWith(evt, true);
  }
  
  $('#mytable').on('keyup', $.debounce(500, onKeyUp));
  </code></pre>
  
  <p>The problem is that, while it works fine on Firefox and IE9, it doesn't work in IE8. Specifically, IE8 throws a "Member not found" error when I call <code>evt.preventDefault()</code> which goes into the jQuery 1.11.1 code and breaks in line 4967 on <code>e.returnValue = false;</code> (because <code>preventDefault()</code> apparently doesn't exist in IE8). Upon inspection of the event variable with the IE developer tools debugger, it seems that the variable contains all event member methods and properties, but most of them are marked as "Member not found".
  I've alread tried this solution <a href="https://stackoverflow.com/a/3533725/134120">https://stackoverflow.com/a/3533725/134120</a> but it did not work.
  Googling for "IE member not found" returns a lot of results, but not many solutions.</p>
  
  <p>So, any ideas?</p>