Guest User

Untitled

a guest
Jan 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <input type="checkbox" id="check_glucose" value="Glucose" data-bind="checked: onGlucose">
  2.  
  3. <input type="number" class="form-control" id="estimatedAmt" data-bind="value: estimatedAmount">
  4.  
  5. var GlucoseModel = function () {
  6. var self = this;
  7. self.onGlucose= ko.observable(initialData.OnGlucose);
  8. self.estimatedAmount= ko.observable(initialData.EstimatedAmount);
  9. }
  10.  
  11. ko.applyBindings(new GlucoseModel);
Add Comment
Please, Sign In to add comment