Implicitly set up chains of relationships between model data, to transform and combine it

When your data model's state changes, your UI updates automatically

How KO enables it with observables and computed properties

Nearly 5 hours of online video content by John Papa ( more info )

Grab a coffee and watch this fast-paced introductory session, filmed at the 2011 MIX conference.

Learn the easy way with an in-browser code editor

Get started with knockout.js quickly, learning to build single-page applications, custom bindings and more with these interactive tutorials .

Live example

Run it:

Choose a ticket class: Clear You have chosen ($)

Source code:

By encapsulating data and behavior into a view model, you get a clean, extensible foundation on which to build sophisticated UIs without getting lost in a tangle of event handlers and manual DOM updates.