This is a simple AJAX example writen in Scala and Lift 2.5M4, that calculates US Presidential election possibilities based on polling data.