I have a Single Page Application that uses knockout for the data binding. The CAApproval.html view in my single page application has an observeablearray named AllCertificates i
Also knockout observableArray has interesting methods. Call removeAll to clear all items. Look at official site observable array manual.
observableArray
removeAll
self.mycertificates = ko.observableArray(['C1', 'C2']); self.mycertificates.removeAll();