In this tutorial you will get the basic knowledge of KnockoutJS and how to use on programming.
It separates the application model, view and view model.
It supports most of browsers i.e. Firefox 3.5+, IE 6+, Opera, Chrome, Safari.
Steve Sanderson, a Microsoft employee on July5, 2010 developed KnockoutJS and maintained as a open source project.
Abbreviation for KnockoutJS is KO.
Features of KnockoutJS:
- Open source and free for use.
- Automatic UI refreshing
- Binding easily
- Dependency tracking
- Compatible with client or server side technologies
- Small & lightweight
How to use:
Download production build of Knockout.js from:
Read Also: KnockoutJS MVVM Application Framework
Now paste it in your webpage head tag as:
or you can use KnockoutJS library from CDN:
Lets look a simple example: