daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. KnockoutJS Options Bindings
  2. var viewModel = {
  3.    firstSelectListIndex : ko.observable(), // bound to the first select list value
  4.    secondSelectListIndex : ko.observable(),
  5.    ...  
  6. };
  7.    
  8. viewModel.firstSelectListIndex.subscribe(function(newValue) {
  9.     // your code
  10. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top