jQuery-Storage-API icon indicating copy to clipboard operation
jQuery-Storage-API copied to clipboard

Not able to set a knockout object

Open ajoemathew opened this issue 7 years ago • 0 comments

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

ajoemathew avatar Jan 02 '18 05:01 ajoemathew