title: How do check "$(document).on" input text exchange with javascript
body: <p><strong>$(document).on('input'.....</strong></p>
  
  <p>I'm have the following code.. This code working with human keyup detect. But this do not working if any click Strong Pass button.   </p>
  
  <pre><code>&lt;form&gt;    
      &lt;input id="pass1" type="text" /&gt;
      &lt;input id="pass2" type="text" /&gt;
      &lt;a class="button" onclick="strongPass(8)"&gt;Strong Pass&lt;/a&gt;
  &lt;/form&gt;
  
  &lt;script&gt;
  $(document).on('input change keyup','#pass1, #pass2',function(){
            check_pass_strength_now();
  });
  
  function strongPass(){
    .....
    //with a loop generate Strong pass
    //and replace #pass1 #pass2 value
    //But after replace do not catch this $(document).on('input change keyup','#pass1, #pass2'
    .....
  }
  &lt;/script&gt;
  </code></pre>