Welcome Guest. Sign in or Signup


How to bind KO view model to a jQuery UI Widget’s value?

Asked by: 2684 views 2. KnockOut (KO)


KO View Model entries can be easily bound to DOM elements declaratively. However, to bind to a jQuery Widget there is a little bit more work to do. You will have to setup a custom binding and manually pass values from the view model to the widget and vice-versa when either one changes.

This is nicely described in the “jQuery UI Knockout Example” blog post by Boduch.

Comments on Question