I get error html form unable to find setter method for attribute name when I add name attribute in form action
like
<html:form action="updateBOEMedicalAccept" name="updateBOEMedicalAcceptForm">
I need name attribute to use it in javascript
like
document.updateBOEMedicalAcceptForm.BOE_NO.disabled = true;
and id attribute is also not working
Please guide.
For getting element by name,
For getting element by id