KnockoutJs Basic Idea with Simple Example

Hi Friends,
KnockoutJS is another javascript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model.Any time you have sections of User Interface(UI) that update dynamically (e.g:changing depending on the user’s actions), KO can help you implement it more simply and maintainably.



  • Automatically updates the right parts of your UI whenever your data model changes.
  • Pure JavaScript library – works with any server or client-side technology

Simple Example:


 

First name:

Last name:

Hello, !





Calling the ko.applyBindings() method and passing in our view model tells Knockout to bind the specified model to our UI.
JsFiddle Example

One thought on “KnockoutJs Basic Idea with Simple Example

Leave a Reply

Your email address will not be published.