Quantcast
Channel: Checkbox with knockout data binding giving wrong value on checked event - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by pax162 for Checkbox with knockout data binding giving wrong value...

It looks like ko handles the change event in a strange way. Fiddle: http://jsfiddle.net/wnLyV/1/js:var VM = function(){ var self = this; self.appealsFromThisCase = ko.observable(false);...

View Article



Checkbox with knockout data binding giving wrong value on checked event

<input type="checkbox" data-bind="checked: appealsFromThisCase, event: { change: onappealsFromThisCaseChange}" id="appealsforCaseCheckBox"/> vm.onappealsFromThisCaseChange = function () { if...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images