rem: {scwTargetEle.value = scwOutputDate.scwFormat(scwDateOutputFormat); scwHide(); } 
add: { if (typeof scwTargetEle.value == 'undefined') { scwTriggerEle.scwTextNode. replaceData(0, scwTriggerEle.scwLength, scwOutputDate.scwFormat(scwDateOutputFormat)); } else { scwTargetEle.value = scwOutputDate.scwFormat(scwDateOutputFormat); } scwHide(); } 
context:              function scwSetOutput(scwOutputDate)                {scwTargetEle.value =                    scwOutputDate.scwFormat(scwDateOutputFormat);                 scwHide();                }
meta: 3685	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js