rem: var span=document.getElementById(spanId); if (document.addEventListener) { span.onkeydown=function(event) { return uiHandleKeypress(event, elementName); }; } else { span.onkeydown=function() { return uiHandleKeypress(event, elementName); }; } var hiddenPresent = createNamedElement('input', elementName+".__present"); hiddenPresent.setAttribute('type','hidden'); hiddenPresent.setAttribute('value','true'); addSystemLoadEvent(function() {span.appendChild(hiddenPresent);}); 
add: uiFormElementContext_4(elementName, spanId, valid, true); 
context:  function uiFormElementContext(elementName, spanId, valid){   var span=document.getElementById(spanId);   if (document.addEventListener) { // Moz     span.onkeydown=function(event) { return uiHandleKeypress(event, elementName); };   } else {     span.onkeydown=function() { return uiHandleKeypress(event, elementName); };   }   var hiddenPresent = createNamedElement('input', elementName+".__present");   hiddenPresent.setAttribute('type','hidden');   hiddenPresent.setAttribute('value','true');    addSystemLoadEvent(function() {span.appendChild(hiddenPresent);}); }
meta: 7108	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7108/4b2e9f34b1a2cf44e55bdcfd3ae4ef310d1825c2/jsp-ui-validation.js/buggy/etc/js/validation/jsp-ui-validation.js