$.fn.tap = function (func) { $.ifFunction(func) ? func.call(this, this) : console.debug(this) return this;};$(‘div’).find(‘a’).tap(function () {console.debug(this[0]);});