I think you could write this up in the on selector as 'this.$els.window.on("keydown [id!='searchText']", function (e) {'