I guess U may call a javascript like onclick="javascript:fnSubmit()" and in that function u can set the values for the form fields and then on last line of the function, call 'document.menuForm.submit()'
-----Original Message----- From: Srilatha Salla [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 2:32 AM To: [EMAIL PROTECTED] Subject: form submision using javascript using html:link tag Hi, In my application there is a jsp page for example menu.jsp which has <html:form action="/nfoSave"> there is a link <html:link page="/HoursMenu.do" >Menu Hours</html:link> in the menu.jsp which goes to the hours.jsp I want to submit the form when i click the link, so that I can access the values entered in the menu.jsp. in HoursMenuAction. I tried <html:link page="/HoursMenu.do" onclick="document.menuForm.submit()"> but i couldnot access the form properties. I get null values. So, how can i submit the form and access its properties. Thanks, Latha __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]