how can i access the values of my form elements using javascript in struts? 
example....
<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?
-- 
Frances Aleah Z. De Guzman
SA/Programmer
Ingenium Technology, Inc.
http://www.ingenium.com.ph

Disclaimer :
This message is intended only for the named recipient. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to