I am having trouble accessing both the Class and the current element. How can I have access to both the current element and the Class?


// Class stuff above
fuction1 : function () {
myelements.addEvent('click', this.function2);
},
function2 : function () {
// "this" is the element from function1
this.getParent('div')

// now I need to call another function
// But since the scope is the element, I get an error
// If I bind function two,
// how can I gain access to the element?
this.function3();
}
//Class stuff below


Thanks!