jQuery-Storage-API
jQuery-Storage-API copied to clipboard
Not able to set a knockout object
I have a knockout object function People(data) { var self = this; self.Id = ko.observable(data.Id); self.Title = ko.observable(data.Title); }
var item=new People({}); I have value in 'item', but I am not able to set that in the localStorage. Please suggest a solution