If i define object like
var Person = function(id, name, country) {
var self = this;
self.id = ko.observable(id);
self.name = ko.observable(name);
self.country = ko.observable(country);
return self;
};
How can i remove property "country" from this object on click event of button. Thing is that when i send data to webservice i dont want to send this property to it.
Please see fiddle here where i am trying to remove property "country" on click event of save button. http://jsfiddle.net/kirannandedkar/nZDrk/7/