--- On Thu, 8/7/08, nauke. <[EMAIL PROTECTED]> wrote:
> No matter how I tried to pass those values in as
> parameters, my JavaScript function kept treating 
> it as literal text
> 
> Like:
> 
> <%=String aString = "Hi There!"%>

That's most likely not what you wanted, you mean:

<% String aString = "Hi There!"; %>

Hopefully that was typos.

> onclick="return myFunc('<%=aString%>');"

Do you have scriptlets enabled?

> myFunc('msg')

Er, if *that* doesn't work, then you've done something horribly wrong, because 
that's just calling a JavaScript function with a literal string.

Dave


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

Reply via email to