title: Event handler to use when a text input has been updated by javascript rather than keypress / copy/paste
body: <p>I would like to read the value of a text input every time it is updated. It is being updated by craftyclicks postcode finder, hence there is no typing/keypress in the box, nor is there any copying/pasting. I have tried: </p>
  
  <pre><code>$('#AddressL1').change(function() {
      val = $(this).val();
      console.log
  });
  </code></pre>
  
  <p>and also:</p>
  
  <pre><code>$('#AddressL1').on('input', function(e) {
      val = $(this).val();
      console.log
  });
  </code></pre>
  
  <p>...but neither of these work unless I update the box by typing something manually. I would appreciate some help with this. Thanks.</p>