Programmatically invoke onChange event - TechRepublic
Question
August 28, 2007 at 03:26 AM
langdale_pikes

Programmatically invoke onChange event

by langdale_pikes . Updated 18 years, 7 months ago

I am using a popup calendar to populate an input field. When the contents of this field change I need the onChange event to fire so that I can perform further updates. The onChange event “onChange=myFunction()” will fire if I manually type the date into the field but not if I populate the field using javascript!

How can I programatically invoke the onchange event?

This discussion is locked

All Comments