Struts layout:form tag

Hi,I am using Struts layout:form tag which has not "id" as attribute. But I need to set an id to my form for using javascript later on : document.getElementById().Do you have any solution for this?Regards,Pengyou
[247 byte] By [pengyoua] at [2007-11-27 7:41:38]
# 1
You can use document.getElementsByName(); or document.getElementsByTagName() to fetch the fields from the form.SirGeneral
SirGenerala at 2007-7-12 19:22:17 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...