Hi David,
Thanks for your prompt reply.
As a beginner I have started reading the book "Exploring Lift".

It says

"If you need to write large portions of JavaScript code for your
pages, we recommend writing that code in
pure JavaScript in an external file and then including that file in
your pages. In particular, if you write your code as JavaScript
functions, you can use the JE.Call class to execute those functions
from your Lift code."

I just want to know how can I use JE.Call function fro my external
javascript file and also how to use JE abstractions like (JsFunc,
ValById etc..)

Could you please provide a simple example so that my understanding
will be clear.

Thanks
Sunanda

On Oct 1, 9:56 am, David Pollak <[email protected]> wrote:
> Seehttp://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 <[email protected]> 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 frameworkhttp://liftweb.net
> Beginning Scalahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to