title: Preventing keyUp event if the user pastes something in a textarea
body: <p>If the user types someting in the textarea#q, the <strong>do_domething()</strong> function is called. If the user pastes the text instead of typing it, the do_something() function should be avoided. Any ideas? This is my current code:</p>
  
  <pre><code>$('#q').keyup(function(e){
      do_something();
  }).bind('paste',function(event) {
      //user pasted text, there is not need to do_something();
      //tried both of these approaches, none worked out.
      event.stopPropagation();
      event.stopImmediatePropagation();
  });
  </code></pre>