title: Detect change in input element, set with JavaScript
body: <p>I have a slider connected to an input element. I have no control on the slider implementation. Whenever the slider is moved, the input element value is updated. I can check that with <code>$('#my-input').val()</code></p>
  <p>But, as documented <a href="https://api.jquery.com/change/" rel="nofollow noreferrer">here</a>, I am not able to detect that change with the <code>.change()</code> event handler, because JavaScript manipulation of the input's value does not trigger that event.</p>
  <p>My question is: how can I detect that the value in my input element has changed? What event - if any - is triggered in this case?</p>