search for: editabletextbox

Displaying 1 result from an estimated 1 matches for "editabletextbox".

2006 Feb 10
8
Prototype Inheritance example
...tBox = Class.create(); MyControls.TextBox.prototype = { baseInitialize: function(loadCallback, saveCallback, saveOptions) { this.loadCallback = loadCallback; this.saveCallback = saveCallback; .... }, Save: function() { //do save operation using options } }; MyControls.EditableTextBox = Class.create(); Object.extend(MyControls.EditableTextBox.prototype, MyControls.TextBox.prototype), { initialize: function(targetObj, loadCallback, saveCallBack, options) { this.baseInitialize(loadCallback, saveCallback); }, Update: function() { this.Save(); } } __________...