how to use javascript functions in struts jsp page

hiiam using struts jsp pages. here iam calling one javascript function. but iam not able to access the form in javascript.wat i have to give as form name to get the elements of the form.please reply me soon it is urgentvamsi
[266 byte] By [vamsi_ma] at [2007-10-2 23:58:58]
# 1
your form has no name liek this one:<html:form action="/userRegistration.do" >so you cannot access the elements inside your form?accessing the elements inside the form will be like this:document.forms[0].propertyName.value;
jgalacambraa at 2007-7-14 16:46:05 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...