Hi, I need to change the action of my form on the fly. I use the following javascript: function setParam(mode) { document.getElementById("myform").action ="<%=(String) request.getAttribute("origin")%>" + mode+ ".do"; document.forms[0].submit();
} and my form is : <html:form action="<%=(String) request.getAttribute("origin")%>" styleId="myform" > It works perfect under mozilla but not IE. I think the problem is that IE looks for Id in the name field of form and he couln't find it. Could anyone help me? Regards ARash