[Solved] Nested knockout template binding
[ad_1] I think you can do this like that: function Question(id, name) { this.id = id; this.name = name; this.answers = ko.observableArray(); } function Answer(id, name) { this.id = id; this.name = name; } function ViewModel() { this.questions = ko.observableArray(); var self = this; //dummy data self.init = function () { var q1 = new … Read more