The HTML that is generated for the bean is <form name="someForm" method="post" action="/UpdateSomeFormAction" onsubmit="return checkSubmit();">
I figured out a solution by using the method getElementsByName, but I would rather not have to do this (lots of places to change the code). Since IE9 changes the id to name, is there anyway to assign an id tag? I've played around with various options, but nothing seems to work.
If my understanding is correct, the form is created through the struts-config.xml file. I attempted to add an id tag there, but it didn't solve my problem. I guess I will stick with using the getElementsByName method since it's working, but at least I now have a much better understanding of the issue.
You are correct that I don't understand everything about struts, but I do know that the form and action class is declared in the struts-config.xml file. The JSP references the action class.... so the struts tag in my page is
<html:form action="UpdateSomeAction" onsubmit="return checkSubmit();">
From the strut-config.xml file, the form and action is declared as:
Since the form name and class are declared in the struts-config.xml file, this is where I added the id tag, but it didn't solve my problem. I don't want to slap a band-aid on this to fix it, that's why I'm trying to research the problem. However, time is money and there is a limited supply of time and money sometimes.
I don't easily give up... so I'm still researching and trying to gain a better understanding as I go. Your suggestions have helped tremendously because it helped me to think/look in other directions, so I appreciate all your help!