var cnt = 0    def doClicker(text: NodeSeq) =
    a(() => {cnt = cnt + 1; SetHtml(spanName, Text( cnt.toString))}, text)

It increments a counter.

On Wed, Sep 30, 2009 at 4:50 PM, sunanda <> wrote:

> Hi,
> I am totally new to lift framework.
> Can any one give me a simple example of how to call a function form a
> javascript file and store the results
> in  scala variable.
> Thanks.
> >

Lift, the simply functional web framework
Beginning Scala
Follow me:
Surf the harmonics

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to