RE: how to pass a jsp variable to a javascript function

2003-08-14 Thread Julie . Huang
only the String"<%=tmpIndex%>". Adam Hardy <[EMAIL PROTECTED]> 08/07/03 04:32 PM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject:Re: how to pass a jsp variable

how to pass a jsp variable to a javascript function

2003-08-14 Thread Julie . Huang
Hi All, Can anyone suggest how to pass a jsp variable to a javascript function correctly? It is in a nested:iterate block that has an indexId="tmpIndex". what I would like to do is to have the 'y<%=tmpIndex%>' variable pass into my JavaScript function.It seems like t

RE: how to pass a jsp variable to a javascript function

2003-08-14 Thread Rohit Aeron
HI Julie Try putting single quotes around your variable ... Eg: regards Rohit Adam [EMAIL PROTECTED] wrote: > Hi All, > > Can anyone suggest how to pass a jsp variable to a javascript function > correctly? It is in a nested:iterate block that has an indexId="tmpIndex&q

Re: how to pass a jsp variable to a javascript function

2003-08-14 Thread Julie . Huang
ot; To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Re: how to pass a jsp variable to a javascript function Hi Julie, what do you get as a result of that iterate? It looks correct. Do you have javascript errors? Adam [EMAIL PROTECTED] wrot

Re: how to pass a jsp variable to a javascript function

2003-08-10 Thread Adam Hardy
Hi Julie, what do you get as a result of that iterate? It looks correct. Do you have javascript errors? Adam [EMAIL PROTECTED] wrote: Hi All, Can anyone suggest how to pass a jsp variable to a javascript function correctly? It is in a nested:iterate block that has an indexId="tmpIndex&quo

AW: how to pass a jsp variable to a javascript function

2003-08-08 Thread Samuel . Opoku-Boadu
Do this: -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 7. August 2003 23:30 An: Struts Users Mailing List Betreff: Re: how to pass a jsp variable to a javascript function I don't have javascript errors, the problem is <%=

RE: how to pass a jsp variable to a javascript function

2003-08-07 Thread Steve Armstrong
pass in the value itself. In other words, something like: I haven't tested the above, but if I haven't missed any syntactic sugar, it should work. Cheers, -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:30