Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- KnockoutJS Options Bindings
- var viewModel = {
- firstSelectListIndex : ko.observable(), // bound to the first select list value
- secondSelectListIndex : ko.observable(),
- ...
- };
- viewModel.firstSelectListIndex.subscribe(function(newValue) {
- // your code
- });
Add Comment
Please, Sign In to add comment