how can i access the values of my form elements using javascript in struts? example....Check the generated html. (you'll find that the form name corresponds to the name attribute)
<html:form action="/timelog" onsubmit="return submitForm()">
<html:text property="name"/>
<html:text property="age"/>
<html:submit property="action">Log</html:submit>
</html:form>
how can i access the value of the textbox "age"? before im putting like this in my javascript...."document.frmName.age.value"....but there is ni form name in the html:form, right?
Tib
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]