rem:  if (document.xformsPreviousValueChanged) { xformsValueChanged(document.xformsPreviousValueChanged, null); document.xformsPreviousValueChanged = null; 
add: var target = getEventTarget(event);  if (xformsArrayContains(target.parentNode.className.split(" "), "xforms-input")) { target.parentNode.value = target.value; target = target.parentNode; 
context:                 xformsAddEventListener(control, "change", function(event) {                    // If previous change is still not handled, handle it now                    if (document.xformsPreviousValueChanged) {                        xformsValueChanged(document.xformsPreviousValueChanged, null);                        document.xformsPreviousValueChanged = null;                    }                    // Delay execution by 50 ms                    document.xformsPreviousValueChanged = getEventTarget(event);                    window.setTimeout(function() {                        if (document.xformsPreviousValueChanged) {                            xformsValueChanged(document.xformsPreviousValueChanged, null);                            document.xformsPreviousValueChanged = null;                        }                    });                });
meta: 9823	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9823/bc587663e49f9d75af4eaec240a103c8c531d393/xforms.js/clean/src/examples/web/ops/javascript/xforms.js