Is it possible to use a method from the parent class in the overwritten version in its child in javascript?
views:
19answers:
3
A:
You could call the following in the overwritten version in the child class:
ParentClass.prototype.methodYouAreOverwriting.call(this);
xil3
2010-09-19 12:55:28
A:
If you are using the module pattern check out this article: http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth
adamse
2010-09-19 13:01:58