Dear friends
I have a question about calling other functions in a mootools class. For example:
var f = new Class('foo',
{
test1: function(){
var table = new Element(........);
....
...
$(table).getElements('input').each(function(input) {
input.addEvent('change', function() {
**// how could I call the test2 and pass the input element ?**
});
});
},
test2: function(e){
alert(e);
}
});
Thank you.