response.appendContentString(" />");
// fix for IE < 9 that deactivates the standard submit routine of the form and
// triggers the onClick handler of this submit element instead if the return key
// is pressed within a textfield, radiobutton, checkbox or select
ERXBrowser browser = ERXBrowserFactory.factory().browserMatchingRequest(context.request());
if (browser.isIE() && browser.majorVersion().compareTo(Integer.valueOf(9)) < 0) {
if (!hasBinding("formName")) {
formName = ERXWOForm.formName(context, "");
}
AjaxUtils.appendScriptHeader(response);
response.appendContentString("\nEvent.observe(document." + formName + ", 'keypress', function(e){");