Re: How to pass Strings to a JavaStript function..

2002-01-29 Thread Jeff_Mychasiw



Follow up:

This actual working code I have used with a static constant

onclick="submitReportForm('<%= FcJspValues.REPORT_ACCOUNT_PERF_DATA %>')">

Though I think both would work..




[EMAIL PROTECTED] on 01/29/2002 11:35:43 AM

Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:

Subject:  Re: How to pass Strings to a JavaStript function..




Greetings:

I have used this type of syntax:

onclick='SelectDate("<%= oldDay %>","<%= oldMonth %>","<%=
oldYear %>")'/>

Note the single quotes on the outside.





Marcelo Caldas <[EMAIL PROTECTED]> on 01/29/2002 11:22:34 AM

Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

To:   Struts Mailing List <[EMAIL PROTECTED]>
cc:

Subject:  How to pass Strings to a JavaStript function..


Hi guys,
Does any one knows how to send strigs to a javascript function...

I have a function that receives three string parameters and what I'm trying to
do is:

But of course, it's all mess up the quotes... I tried single quotes and no
quotes at all, but still doesn't work...

any help is appreciated... thanks.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>








--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>








--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: How to pass Strings to a JavaStript function..

2002-01-29 Thread Jeff_Mychasiw



Greetings:

I have used this type of syntax:

onclick='SelectDate("<%= oldDay %>","<%= oldMonth %>","<%=
oldYear %>")'/>

Note the single quotes on the outside.





Marcelo Caldas <[EMAIL PROTECTED]> on 01/29/2002 11:22:34 AM

Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

To:   Struts Mailing List <[EMAIL PROTECTED]>
cc:

Subject:  How to pass Strings to a JavaStript function..


Hi guys,
Does any one knows how to send strigs to a javascript function...

I have a function that receives three string parameters and what I'm trying to
do is:

But of course, it's all mess up the quotes... I tried single quotes and no
quotes at all, but still doesn't work...

any help is appreciated... thanks.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 








--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: How to pass Strings to a JavaStript function..

2002-01-29 Thread Nathan Anderson

Have you tried to escape the quotes with a \ character?   Like this:


Nathan Anderson
-Original Message-
From: Marcelo Caldas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 9:23 AM
To: Struts Mailing List
Subject: How to pass Strings to a JavaStript function..


Hi guys,
Does any one knows how to send strigs to a javascript function...

I have a function that receives three string parameters and what I'm trying
to do is:

But of course, it's all mess up the quotes... I tried single quotes and no
quotes at all, but still doesn't work...

any help is appreciated... thanks.

--
To unsubscribe, e-mail:

For additional commands, e-mail:




--
To unsubscribe, e-mail:   
For additional commands, e-mail: