var A=function(){ }; $.extend(A.prototype, { init:function(){ alert(\'A init\'); } }); var B=function(){ }; $.extend(B.prototype,A.prototype,{
How to invoke parent's methods:
var B=function(){ A.call(this); }; $.extend(B.prototype,A.prototype,{ init:function(){ A.prototype.init.call(this); alert('B init'); } });