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:
<html:button property="oldDate" value="checkDate"
onclick="SelectDate("oldDay","oldMonth","oldYear")"/>
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]>

Reply via email to