--- panpan <[EMAIL PROTECTED]> wrote: > But the below is not working if replace 1 with a > variable > <code> > <script type="text/javascript"> > var number = 1; > var name = '<s:property > value="additionalInterests['+number.toString()+'].bankName"/>'; > alert("Name: " + name); > </script></code>
JavaScript is executed *AFTER* your JSP is compiled. I'd recommend looking in to the way browsers/HTTP work a bit. d. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]