title: jquery not triggering change when textbox changes occurs from copy-paste with mouseclick
body: <p>I'm listening to changes in a textbox using <code>keyup</code> and <code>change</code> as the events. This works when you type with the keyboard or do a copy paste also with the keyboard (Ctrl-V).</p>
  
  <p>The problem is that when a user right-clicks on the textbox and pastes text, the change is not detected until the user clicks somewhere else on the page, and so things look broken. Here's the <strong><a href="https://jsfiddle.net/3gLap0nv/" rel="nofollow">jsFiddle</a></strong> and here's the code:</p>
  
  <pre><code>function Start() {
  
      $('#test').on({
      change: OutputTxt,
      keyup: OutputTxt
    })
  }
  
  function OutputTxt() {
      $('#output').text($('#test').val());
  }
  
  $(Start);
  </code></pre>
  
  <p>How do I change this so that a change that occurs with copy-paste is detected as soon as the pasting is done. Note: I tried adding a click event but it doesn't help.</p>