var $button = $('button') var obj = {foo: 1} function handler (num) { console.log(this.foo + num) } $button.on('click', handler.bind(obj, 2))