title: Use of "setTimeout()" in my jQuery Expression
body: <p>I'm trying to add the JavaScript function <code>setTimeout()</code> to my jQuery expression.  Without the <code>setTimeout()</code> my function loads a partial view with updated information when I enter text into my textbox.  But, it loads the information with every keystroke.  My logic is that if I can put in a timer then when the user stops typing, a second later the data is updated.</p>
  
  <p>As you can see I tried to put a <code>setTimeout()</code> in but it doesn't seem to be working.</p>
  
  <pre><code>$(function() {
      $('#DocId').live('keyup', function() {
          setTimeout(var styleValue = $(this).val();
          $('#tableContent').load(
          '/CurReport/TableResults', 
          { style: $(this).val()}), 1000);
  
      }),
  });
  </code></pre>
  
  <p>Thank you,</p>
  
  <p>Aaron</p>