[jQuery] jQuery and the 'this' keyword

[jQuery] jQuery and the 'this' keyword


I've created a javascript object like so:
var myObj={
// internally used
OtherFunction: function(){ alert('hi');},
// externally used
EditInfo: function(){
this.OtherFunction();
}
};
if i bind EditInfo to a button, like so:
$('#myButton').click(myObj.EditInfo)
Then (this) is pointing to the button, not to myObj. Why is that?
I'm using FF3.5