How to Clear Contents of an observableArray That was Populated from Previous Visits to a View
Also knockout observableArray has interesting methods. Call removeAll to clear all items. Look at official site observable array manual. self.mycertificates = ko.observableArray([‘C1’, ‘C2’]); self.mycertificates.removeAll();