Lift Web Framework

More JSON Samples

This example calls the noParam function which invokes a server-side JSON call that then calls a handler back in the browser.
The client-side JavaScript for looks like:

Let's send the contents of a test field and process it:

The Script to do this is:

Let's send some numbers to the server and have the server add 1 to each of the numbers.
Enter comma separated numbers:

The server-side code looks like:

Lift is Copyright 2007-2013 WorldWide Conferencing, LLC. Distributed under an Apache 2.0 License.
Lift version 2.5 built on Sat Jun 01 06:22:10 CEST 2013.
Stats: Total Memory: 799,539,200 Free Memory: 642,837,912 Open Sessions: 5130
Updated At: Tue Oct 17 20:30:18 CEST 2017 Started At: Mon Oct 16 20:44:26 CEST 2017