I have this class where I am using a combination of jQuery and Prototype:
var MyClass = Class.create({ initElements: function(sumEl) { this.sumEl
You need to use closures.
initElements: function(sumEl) { this.sumEl = sumEl; var ref = this; sumEl.keyup( function(){ref.updateSumHandler();}); },