@polyvision Are you using jQuery or something? In plain JavaScript you should use addEventListener. ons.ready(function() { document.querySelector('ons-tabbar') .addEventListener('postchange', function() { console.log('hi there'); }); }); You can add the listener to the document as well: document.addEventListener('postchange', ...);