ally, or resolving
this problem.
Chetan Pandey
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 2:37 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
When you say these suggestions
On 9/8/06, Chetan Pandey <[EMAIL PROTECTED]> wrote:
I wasn't looking at the Source cos I am working through Eclipse and I
don't
think there is a way to lookup Source in Eclipse.
So I manually generated WAR and tested in on IE.
And surprising results
For usage of
onclick = '<%="return conf
inal Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 2:37 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
When you say these suggestions didn't work, what is happening? What is
in the generat
Message(" + jsMessage + ")" %>'
>
> Did not work.
>
> Chetan
>
> -Original Message-
> From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 08, 2006 2:18 PM
> To: Struts Users Mailing List
> Subject: Re: Setting a Variab
Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 2:18 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
'<%="returnconfirmationMessage(jsMessage)" %>'
Ok , I think I made a m
onclick = '<%="return confirmationMessage(" + jsMessage + ")" %>'
Did not work.
Chetan
-Original Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 2:18 PM
To: Struts Users Mailing List
Subject: Re: Settin
Ok , I think I made a mistake here. This should actually be
essage-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 07, 2006 11:47 AM
> To: Struts Users Mailing List
> Subject: Re: Setting a Variable in Javascript Functions parameter
>
> Then your JSP expression is not being evaluated... this *is* in a J
, September 08, 2006 11:38 AM
> To: Struts Users Mailing List
> Subject: Re: Setting a Variable in Javascript Functions parameter
>
> Is jsMessage a java variable or a javascript variable? If it's a java
> variable and you want to pass its value to the javascript function, I
thi
ried
>> "onclick =returnconfirmationMessage(<%=jsMessage%>)"
>>
>> And other combinations with no help.
>>
>> Thanks.
>>
>> Chetan
>>
>> -Original Message-
>> From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
>> Sen
> Thanks.
>
> Chetan
>
> -Original Message-
> From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 07, 2006 11:13 PM
> To: Struts Users Mailing List
> Subject: Re: Setting a Variable in Javascript Functions parameter
>
> On 9/7/0
essage-
From: 皮苗 [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 11:38 AM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
Is jsMessage a java variable or a javascript variable? If it's a java
variable and you want to pass its v
to:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 11:13 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
On 9/7/06, nirav bumia <[EMAIL PROTECTED]> wrote:
>
> Just pass the variable jsMessage(remove the quotes) i.e.
>
>
And other combinations with no help.
Thanks.
Chetan
-Original Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 11:13 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
On 9/7/06, nirav bumia <[
13 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
On 9/7/06, nirav bumia <[EMAIL PROTECTED]> wrote:
>
> Just pass the variable jsMessage(remove the quotes) i.e.
>
>
> and use this variable in javascript.
I suppose you a
On 9/7/06, nirav bumia <[EMAIL PROTECTED]> wrote:
Just pass the variable jsMessage(remove the quotes) i.e.
and use this variable in javascript.
I suppose you are trying to pass a variable that you have in some scope in
your jsp to your javascript function.
Am not really sure the above sug
Just pass the variable jsMessage(remove the quotes) i.e.
confirmationMessage(jsMessage)">
and use this variable in javascript.
On 9/7/06, Chetan Pandey <[EMAIL PROTECTED]> wrote:
Hi All:
I want to pass a Variable to my Javascript Function in the following manner
Where jsmessage=
Hi All:
I want to pass a Variable to my Javascript Function in the following manner
Where jsmessage= " Are you sure you want to delete?"
Currently the Confirm-Box is printing "jmessage".
How do I force it to print the contents of "jmessage".
I also tried using
retur
18 matches
Mail list logo