[Seaside] Re: AJAX evaluator and javascript

Squeaker squeakman at gmail.com
Thu Sep 18 15:10:22 UTC 2008

Lukas Renggli wrote:

> The problem is that when you use 'strings' in Smalltalk you get
> strings in JavaScript. No magic here. So 'var bar = "This is a test"'
> is a string. Not a variable declaration.
> You might want to try:
>     script alert: 'This is a test'
> Cheers,
> Lukas

What I am really trying to get at is how do I reference a javascript 
variable from within the callback of the html evaluator.

If I assume that there is an existing javascript variable called "bar", 
how to I get the evaluator to generate "alert(bar)"


More information about the seaside mailing list