Hi, Try out OGNL expression for the value attribute of property tag. This may help.
Thanks Suhas. --- On Fri, 8/5/09, cm132005 <cm132...@gmail.com> wrote: > From: cm132005 <cm132...@gmail.com> > Subject: Passing a value to JavaScript from a tag > To: user@struts.apache.org > Date: Friday, 8 May, 2009, 6:45 AM > > How to pass a value from valueStack to a JavaScript > function? > > This doesn't work: > <s:submit value=" Edit " method="edit" > onclick='"doEdit(\'<s:property > value="aId"/>\')"' /> > > Any help would be appreciated. > > Thanks. > -- > View this message in context: > http://www.nabble.com/Passing-a-value-to-JavaScript-from-a-tag-tp23438467p23438467.html > Sent from the Struts - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org