lets say I have a 'MyFormClass' in which I have a 'Save' button.
on click on button, I want to pass 'MyFormClass' class's object ref.
eg.
- Code: Select all
saveButton.on('click',function(){
console.log(this);
});
I know this doesn't work, but I want something like this.
Rohan


