title: How do I programmatically force an onchange event on an input?
body: <p>How do I programmatically force an onchange event on an input?</p>
  
  <p>I've tried something like this:</p>
  
  <pre><code>var code = ele.getAttribute('onchange');
  eval(code);
  </code></pre>
  
  <p>But my end goal is to fire any listener functions, and that doesn't seem to work.  Neither does just updating the 'value' attribute.</p>