var $this = $(this)
$('#object1').on('click', function () {
console.log(this);
$('#object2').on('mouseover', function () {
console.log(this);
});
}
);
$('#object1').on('click', function () {
var self = this;
$('#object2').on('mouseover', function () {
console.log(self);
});
}
);