<input type="text" data-bind="value: classCode, valueUpdate: 'afterkeydown', event: { keypress: doSomething}">
I could not see the number that I enter.
You should add a handler to the observable itself:
viewMOdel.classCode.subscribe(function() { ... });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With