rem: xformsAddEventListener(textfield, "keypress", function(event) { if (event.keyCode == 10 || event.keyCode == 13) { xformsHandleValueChange(event); var span = getEventTarget(event).parentNode; xformsFireEvents(new Array(xformsCreateEventArray(span, "DOMActivate", null))); } }); 
add: xformsAddEventListener(control, "blur", function(event) {    if (!document.xformsMaskFocusEvents) { var target = getEventTarget(event); while (target && (target.className == null || !xformsArrayContains(target.className.split(" "), "xforms-control"))) target = target.parentNode; if (target != null) document.xformsPreviousDOMFocusOut = target; } }); 
context:                 xformsAddEventListener(textfield, "keypress", function(event) {                    if (event.keyCode == 10 || event.keyCode == 13) {                        xformsHandleValueChange(event);                        var span = getEventTarget(event).parentNode;                        xformsFireEvents(new Array(xformsCreateEventArray(span, "DOMActivate", null)));                    }                });
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7801/e0a15c2148b52c8dbe739113139cb5ddda84267e/xforms.js/clean/src/examples/web/ops/javascript/xforms.js