Hi, the script below said at all:
var Clazz = new Class({
Implements: [Options, Events],
options: {},
initialize: function(options){
this.setOptions(options);
},
foo: function(){
alert('Dummy');
},
bar: function(){
//how i can call 'foo' here
}
});
how can i call 'foo' in 'bar'?Please help!
Start Free Trial