title: How can I trigger an onchange event manually?
body: <p>I'm setting a date-time textfield value via a calendar widget. Obviously, the calendar widget does something like this :</p>
  <pre><code>document.getElementById('datetimetext').value = date_value;
  </code></pre>
  <p>What I want is:<br />
  On changing value in the date-time textfield I need to reset some other fields in the page. I've added a <code>onchange</code> event listener to the <code>datetimetext</code> field which is not getting triggered, because I guess <code>onchange</code> gets triggered only when the element gets focus &amp; its value is changed on losing focus.</p>
  <p>Hence I'm looking for a way to manually trigger this <code>onchange</code> event (which I guess should take care of checking the value difference in the text field).</p>
  <p>Any ideas?</p>