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
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
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
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
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
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 <%=
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
7 matches
Mail list logo