I'd like to trigger an event when an element is created.
$(document).on('load','#TB_title',function() {
console.log('loaded');
});
Is there an equivalent of this that works?
I saw some people suggest livequery, but that seems heavy.
Thanks.