See http://demo.liftweb.net/ajax
Specifically:

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 <sunanda.pa...@gmail.com> 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 http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
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 liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to